xsl-list
[Top] [All Lists]

Re: IGNORE CASE IN XSLT

2004-11-26 13:46:24
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/>



--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>