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

Re: How to match on namespace prefix


Subject: Re: How to match on namespace prefix
From: James Clark <jjc@xxxxxxxxxx>
Date: Wed, 06 Jan 1999 15:36:45 +0700

Francois Belanger wrote:

> Meanwhile, I can't figure a workaround to select nodes from a specific
> namespace with the current draft (is there one?).

Not that I can think of.

> >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?

I also want * to match all elements.  I don't much like using :* to
match an element not in any namespace, but I can't think of a better
solution.

James


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread