This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Getting all the attribute values



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]