Subject: Re: [xsl] further question regarding the use of Muenchian Method From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Tue, 16 Apr 2002 20:12:28 +0200 |
> <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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] further question regardin, 林 子芯 | Thread | [xsl] It is not a bug (was: Re^N..., Dimitre Novatchev |
Re: [xsl] RE: untitled from Biray G, Joerg Heinicke | Date | Re: [xsl] sub element selection, Greg Faron |
Month |