This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT to find missing characters?
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 12 Jul 2002 14:11:54 +0100
- Subject: Re: [xsl] XSLT to find missing characters?
- References: <CKEGJEPGHEJNAEBGFMFHCEKHCHAA.kaevans@xmlandasp.net>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Your input appears to be ready sorted so I think you just need something
like something like (untested)
<xsl:value-of
select="/beers/beer[contains(concat($searchLetter,substring-after($alphabet,$searchLetter)),substring(.,1,1))][1]"/>
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list