This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Getting all the attribute values
- To: xsl-list at mulberrytech dot com
- Subject: Re: Getting all the attribute values
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Fri, 7 Apr 2000 19:39:20 +0100 (BST)
- References: <200004071814.MAA86707@skew.org>
- Reply-To: xsl-list at mulberrytech dot com
> But looking at the XSLT spec, xsl:for-each *does* explicitly say
> "The nodes are processed in document order, unless a sorting specification
> is present."
>
> So, is the behavior described by Francis a bug in whatever XSL processor
> he neglected to mention was being used?
You are looking at the wrong spec.
They have to be in document order but that is defined in xpath
xpath.html#dt-document-order
The attribute nodes and namespace nodes of an element occur before the
children of the element. The namespace nodes are defined to occur
before the attribute nodes. The relative order of namespace nodes
is implementation-dependent. The relative order of attribute nodes
is implementation-dependent
> but I don't see how http://www.w3.org/TR/xslt#for-each could be
> interpreted that way.
see now:-)
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list