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

How to match on namespace prefix


Subject: How to match on namespace prefix
From: Francois Belanger <francois@xxxxxxxxxxx>
Date: Mon, 4 Jan 99 16:05:46 -0500

I could not find how to match nodes (elements or attributes) which are 
part of a particular namespace in the draft.

For example, I'm trying to ignore all nodes from the input tree that are 
from the 'nsp' namespace using:

<xsl:template match="*[namespace() = 'nsp']">
</xsl:template>

or in a XQL-like format:

<xsl:template match="nsp:*">
</xsl:template>

XT returns "unexpected token" on both.



Francois Belanger
Sitepak, Bringing Internet Business into Focus
http://www.sitepak.com



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



Current Thread