xsl-list
[Top] [All Lists]

[xsl] Case incensitive key

2017-01-16 19:35:32
Hello,

Is case insensitive keys possible in XSLT 1.0?  It isn't the end of the
world, as I can simply abandon the key but would rather not.

For sake of discussion, here's my use of a key:

<xsl:key name="key_goty-email" match="row" use="Description/email"/>

<xsl:if test="count(key('key_goty-email',current()/email)) &gt; 1">
....
</xsl:if>

So the current node, Description/email could have something like:
Myemail(_at_)Email(_dot_)com
Other potentional key matching nodes could be: myemail(_at_)email(_dot_)com or
MYEMAIL(_at_)EMAIL(_dot_)COM

Thanks,

Karl..
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>