Re: Help parsing XML file
Re: Help parsing XML file
- Subject: Re: Help parsing XML file
- From: Jim Skibbie <email@hidden>
- Date: Sat, 08 Mar 2008 08:41:47 -0600
- Thread-topic: Help parsing XML file
The source is:
Simpson, John E. "XPath and XPointer". Sebastopol: O'Reilly, 2002.
>From Chapter 2 regarding Nodes and Node-Sets:
"Also worth noting at this point is that the term node-set carries some
implicit baggage of meaning: like a set in mathematical terms, a node-set
contains no duplicate nodes (although some may have duplicate string-values)
and is intrinsically unordered. When you use XPath to locate as a node-set
all elements in a document, there's no guarantee that you'll get the members
of the node-set back in any particular sequence."
> Can you cite the source? I've done a reasonable amount of work with
> XSLT (which of course includes XPath) and have relied upon the fact
> that XSLT requires the return in document order (unless you've done a
> sort). Not quite the same as XPath proper (which has uses in other XML
> technologies) but I just assumed it would behave according to XSLT
> rules when used in that context.
_______________________________________________
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