[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
selectsinglenode ignore namespace
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.