W3C home > Mailing lists > Public > www-style@w3.org > February 2004

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

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 15 Feb 2004 22:52:57 +0100
To: Martin Duerst <duerst@w3.org>
Cc: www-style@w3.org
Message-ID: <4035e88a.274661472@smtp.bjoern.hoehrmann.de>

* 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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:26 GMT