[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: IGNORE CASE IN XSLT match
From: Ruud Grosmann <r.grosmann@xxxxxx>
Date: Wed, 01 Oct 2008 14:49:31 +0200
XSLT 1.0
---- ---
  <xsl:template match="*[ translate( local-name(),
                                     'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
                                     'abcdefghijklmnopqrstuvwxyz'
                                    ) = 'mix']">


Of course you don't need to translate all characters; maybe this one speeds the style sheet up:
<xsl:template match="*[ translate( local-name(),'MIX','mix') = 'mix']">


regards, Ruud

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member