Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Are namespace nodes required in XSLT 2.0?


Subject: Re: [xsl] Are namespace nodes required in XSLT 2.0?
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Thu, 21 Dec 2006 14:43:27 +0000

From: David Carlisle <davidc@xxxxxxxxx>
> But I contest your assertion that it should produce the answer 4.
> Either 2 or 4 look acceptable answers to me.

I don't see anything in
http://www.w3.org/TR/xslt20/#element-namespace
that suggests that xsl:namespace will ever not create a node if its
attributes specify a legal name and URI.

No, there isn't.
But last time I read the data model closely, it said that it was not necessary to implement namespace nodes, if you didn't support the namespace axis.


Now this would seem to be contradicted by xsl:namespace, which seems to require namespace nodes. But if that is only an apparent contradiction (c.f. my suggestion that the wording might be better as saying xsl:namespace produces a namespace binding in the tree), then only two items would be present in the sequence.

_________________________________________________________________
It's Hotmail's 10th Birthday! Come and play Pass the Parcel http://www.msnpasstheparcel.com



Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor