This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: another xpath question
- From: Oleg Tkachenko <olegt at multiconn dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Mon, 07 Jan 2002 19:18:51 +0200
- Subject: Re: [xsl] another xpath question
- Organization: Multiconn International
- References: <000f01c1979b$7641bfb0$8ac809c0@ajw>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Andrew Welch wrote:
> Is it possible to do this without using the default template rule? - on some
> XML files there are hundreds of text nodes and just a few interesting ones.
So, redefine bult-in template rule as you did
<xsl:template match="text()"/>
and define templates for those you are interested
<xsl:template match="text()[some-expr-identifying-interest-text-node]">
...
</xsl:template>
--
Oleg Tkachenko
Multiconn International, Israel
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list