This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Muenchian method, and keys 'n stuff
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: DPawson at rnib dot org dot uk
- Cc: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 23 Jan 2002 14:37:08 +0000
- Subject: Re: [xsl] Muenchian method, and keys 'n stuff
- Organization: Jeni Tennison Consulting Ltd
- References: <9B66BBD37D5DD411B8CE00508B69700FE7AAAA@pborolocal.rnib.org.uk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Dave,
>> First, an iteration over the alphabet, which I'll do using the method
>> Dimitre suggested (since this is the only one that's actually
>> supported in the current WDs).
>
> Is the context not 'wrong' since it becomes the string in the variable?
Whoops, good catch - the context item becomes the integer index.
I should have done:
<xsl:variable name="rs" select="r" />
and then:
<xsl:variable name="books" select="$rs[Ra/lett = $letter]" />
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list