[Home] [By Thread] [By Date] [Recent Entries]
Prince, The following code will help you.. <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:for-each select="/items/item[not(type=preceding-sibling::item/type)]"> <b><u><i>The Details of <xsl:value-of select="./type"/></i></u></b><br></br> <xsl:for-each select="/items/item[./type = current()/type]"> <xsl:value-of select="./name"/>--------<xsl:value-of select="./value"/><br></br> </xsl:for-each> <hr></hr> </xsl:for-each> </xsl:template> </xsl:stylesheet> Cheers Vasu From: "Prince Ohilip" <rajavintemakan@xxxxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: Grouping using a Child Node.... Date: 22 Jun 2002 06:04:05 -0000 _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



