Re: [XPath/XQuery] note test of the form *:NCName

* Martin Duerst wrote:
>It is great that XPath/XQuery allow node tests of the form *:NCName.
>I have been asking for this long ago (or did I ask CSS?). It helps
>dealing with same/similar elements in different namespaces and will
>take off some pressure of future namespace discussions. CSS should
>make sure that they have a similar feature; I'm copying them.
>[see http://www.w3.org/TR/2003/WD-xpath20-20031112/, 3.2.1.2]

CSS' `*|NCName` or `NCName` if no default namespace is
declared is XPath's `*[local-name() = 'NCName']`, see
<http://www.w3.org/TR/css3-selectors/#typenmsp>.

Received on Sunday, 15 February 2004 16:52:55 UTC