Well, that's easy ... and it works :-)
Enjoy your weekend,
Andreas
Andreas Schlegel wrote:
Hi,
is it possible to select all elements which have a specific attribute
value by calling apply-templates?
For example: can I modify this statement <xsl:apply-templates
select="/PD/CHECKPOINTS/CHECKPOINT"/> to select only such elements that
have an attribute @label='test'?
Easy:
<xsl:apply-templates select="/PD/CHECKPOINTS/CHECKPOINT[(_at_)label='test']"/>
And now I am going to enjoy my weekend.. ;>
Grtz,
Geert
--
Geert(_dot_)Josten(_at_)Daidalos(_dot_)nl
IT-consultant at Daidalos BV, Zoetermeer (NL)
http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464
GPG: 1024D/12DEBB50
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--