Re: Help parsing XML file
Re: Help parsing XML file
- Subject: Re: Help parsing XML file
- From: Emmanuel <email@hidden>
- Date: Sun, 9 Mar 2008 12:12:38 +0100
At 12:10 PM -0500 3/8/08, Mark J. Reed wrote:
The difference is, I think, between "XPath" itself and "a node set
returned by an XPath expression". XPath itself will, depending on the
chosen axis, iterate over the document in a specified order, including
the document order, but if a predicate returns a "node set", then that
result is inherently unordered (and without duplicates).
That's right. Sorry I wrote too fast. Apologies to the authors.
That said, as far as us applescripters are concerned, let's use
XMLLib's XMLXpath command, which returns a list of nodes, whose order
is the original order.
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