[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Case incensitive key

Subject: Case incensitive key
From: "Karl Stubsjoen kstubs@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jan 2017 01:35:26 -0000
 Case incensitive key
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@xxxxxxxxx
Other potentional key matching nodes could be: myemail@xxxxxxxxx or
MYEMAIL@xxxxxxxxx

Thanks,

Karl..

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.