xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Blachman <...@trellix.com>
Subject RE: How to catch Elements with a particular local name
Date Thu, 19 Jul 2001 16:33:58 GMT
> How do I catch Elements with a particular local name, 
> regardless of the used namespace:
> I want to catch all included Elements, but some are in a defaulted 
> namespace>
> [...]

By using the XPath local-name() function, eg:
<xsl:apply-templates select="*[local-name()='included']">

(Example stolen from Michael Kay's XSLT Programmer's Reference, p484.)

Ed Blachman
Trellix Corporation

View raw message