• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
XMLlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: XMLlib
      • From: Wayne Melrose <email@hidden>
  • Prev by Date: Re: Satimage OSAX 64-bit compatible?
  • Next by Date: Re: XMLlib
  • Previous by thread: RE: Re:
  • Next by thread: Re: XMLlib
  • Index(es):
    • Date
    • Thread