W3C home > Mailing lists > Public > xsl-editors@w3.org > April to June 2000

Re: Namespace nodes in XSLT and XPath

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 29 Jun 2000 13:45:56 +0100 (BST)
Message-Id: <200006291245.NAA20876@nag.co.uk>
To: xsl-list@mulberrytech.com
CC: xsl-list@mulberrytech.com, xsl-editors@w3.org

> Where does XSLT/Xpath allow that the ordering of namespace nodes in the
> result tree (as opposed to the output document) is implementation specific?

itis implied by the constraints (or lack of them) on the xml

> So the ordering of namespace nodes in the result tree is explicitly
> specific; this is also true for the attribute axis.
No the axis beinga forward axis just affects the way position(0 etc
work on the input tree, it doesn't imply anything about teh resulttree.

> (I'm thinking about the result trees, not the linearized XML output
> shown here.)
The foo element will have namesapce nodes relating to the foo namespace

Are these equivalent?
yes, as when parsing this back in the xpath data nmodel all namespace
nodes are repeated on all descendent elements.

> But in the latter alternative, the namespace
> nodes associated with the element 'foo' are:
The order is machine specific in eithercase.

Received on Thursday, 29 June 2000 08:47:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:18 UTC