Re: [xsl] IGNORE CASE IN XSLT

Subject: Re: [xsl] IGNORE CASE IN XSLT
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Fri, 26 Nov 2004 12:46:24 -0800
Geert Josten wrote:


On the other hand, you could do something like:


<xsl:template match="*[translate(name(), 'ABC..', 'abc..') = 'italic']">
  <!-- Yuck... -->
</xsl:template>

This will work (I think... it seems like it should but I havent tested it to check) but the easier way to do this is to simply use the union method for matching multiple elements:


<xsl:template match="italic | Italic">
proccesing code...
</xsl:template>

Hope this helps!

<M:D/>

Current Thread