[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: further question regarding the use of Muenchian Me

Subject: Re: further question regarding the use of Muenchian Method
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 16 Apr 2002 20:12:28 +0200
Re:  further question regarding the use of Muenchian Me
> <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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.