• 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
Re: XMLLib OSAX and Filemaker Pro XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XMLLib OSAX and Filemaker Pro XML


  • Subject: Re: XMLLib OSAX and Filemaker Pro XML
  • From: Jim Skibbie <email@hidden>
  • Date: Fri, 01 Jul 2011 18:15:12 +0000
  • Thread-topic: XMLLib OSAX and Filemaker Pro XML

Many thanks to François Delyon at Satimage for the quick response. If anyone is interested, the key is to not ignore the namespace, but instead set a namespace prefix with the XMLSetContext command so that you can reference the XPath with that prefix:

--set theDoc to XMLOpen XMLfile with bypassing namespace

set theDoc to XMLOpen XMLfile

XMLSetContext theDoc namespace {nsprefix:"foo", nsurl:"http://www.filemaker.com/fmpdsoresult"}

set the_root to XMLRoot theDoc

--set errorPath to XMLXPath the_root with "ERRORCODE"

set errorPath to XMLXPath the_root with "foo:ERRORCODE"



post on SUL?
Emmanuel
 _______________________________________________
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

  • Prev by Date: Re: Help with retrieving messages from GMail account in Mail.app
  • Next by Date: Re: file path problem
  • Previous by thread: Re: XMLLib OSAX and Filemaker Pro XML
  • Next by thread: Re: Help with retrieving messages from GMail account in Mail.app
  • Index(es):
    • Date
    • Thread