Subject: Re: How to match on namespace prefix
From: Francois Belanger <francois@xxxxxxxxxxx>
Date: Tue, 5 Jan 99 09:40:48 -0500
|
James Clark wrote on 04/01/99 19h16:
>You can't yet. 2.6.1 has:
Got it (it's under 2.6.2 actually), thanks.
>Issue (pattern-namespace-wildcards): Should patterns of the form foo:*
>or *:foo be allowed?
Yes, it's really needed, so is @*:foo or @foo:* for attributes, the
syntax is simple and intuitive.
Meanwhile, I can't figure a workaround to select nodes from a specific
namespace with the current draft (is there one?).
>If so, should * match any element or any element
>without a namespace URI?
* should match any nodes (it's what one expects). I would expect to
write *:* if I want all nodes who are part of any namespace. For nodes
that are not within any namespace it could be :* and @:* (a null
namespace).
Comments?
Francois Belanger
Sitepak, Bringing Internet Business into Focus
http://www.sitepak.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|