Re: [xsl] Muenchian method, and keys 'n stuff

Subject: Re: [xsl] Muenchian method, and keys 'n stuff
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2002 14:37:08 +0000
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


Current Thread