This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: further question regarding the use of Muenchian Method
- From: Joerg Heinicke <joerg dot heinicke at gmx dot de>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Tue, 16 Apr 2002 20:12:28 +0200
- Subject: Re: [xsl] further question regarding the use of Muenchian Method
- References: <F250dhlHs46tfUDbbkA000057ab@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> <xsl:key name="SortAuthor" match="adventure | sci-fi/star-trek" use="author"/>
You create the key on adventure and scifi/star-trek ans you compare
> <xsl:for-each select="booklist[generate-id() =
> generate-id(key('SortAuthor', adventure/author |
> sci-fi/star-trek/author)[1])]">
booklist elements with this key.
A <xsl:for-each select="(booklist/adventure |
booklist/scifi/star-trek)[...]"> should work.
Regards,
Joerg
> <books>
> <author>
> <xsl:value-of select="adventure/author | sci-fi/star-trek/author"/>
> </author>
> ....more code
> </books>
> </xsl:for-each>
>
> but it seems it doesnot regonise anything, please can somebody help me
> out on this one
> Mank thanks
> Regards
> Kit
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list