[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
> <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|