This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: matching nodes by their value
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: matching nodes by their value
- From: Ben Robb <Ben at cscape dot com>
- Date: Wed, 16 Aug 2000 12:40:25 +0100
- Reply-To: xsl-list at mulberrytech dot com
> <xsl:for-each select="tr/td/a[starts-with(tr/td/a,$string)]">
Since you are in a filter pattern when you use the starts-with() method, you
do not need to navigate the tree anymore:
<xsl:for-each select="tr/td/a[starts-with(.,$string)]">
Ben
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list