XMLlib
XMLlib
- Subject: XMLlib
- From: Wayne Melrose <email@hidden>
- Date: Fri, 13 Jul 2012 20:42:07 +1000
Hi all,
I'm using Satimage's xmllib to try and get data from a JDF file.
I have NO problem using the xpath functionality with xmllib and basic XML, however I struggle to try and get info from a JDF file.
Could someone put me on the right path?
I'm attempting to get the id from a jdf file.
This is what I'm attempting at the moment.
------------------------------------------------------------------------------------------------------------------------
set dataXMLRoot to XMLOpen "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>
<JDF ID=\"34578\" DescriptiveName=\"Description here\" Version=\"1.1\"
xmlns:jdf=\"http://www.cip4.org/JDFSchema_1_1\"
xmlns=\"http://www.cip4.org/JDFSchema_1_1\" >
<Comment>This is a comment</Comment>
</JDF>"
XMLXPath dataXMLRoot with "./JDF[ID]"
------------------------------------------------------------------------------------------------------------------------
Thanks in advance for any help
Wayne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden