xsl-list
[Top] [All Lists]

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

2006-12-21 07:43:51
From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
> 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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--