xsl-list
[Top] [All Lists]

Re: [xsl] IGNORE CASE IN XSLT match

2008-10-01 08:49:25

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

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