[xsl] Grouping ?

Subject: [xsl] Grouping ?
From: "Kanthi Damodaran" <kanthi_damodaran@xxxxxxxxxxx>
Date: Fri, 08 Jun 2001 12:49:57
Hello everyone -

I am having a problem with what I believe is a grouping issue. My XML looks something like this

	<Book id = "1">
	<Book id ="2">
	<Address id = "1">
		<Street>Washington Street</Street>
	<Address id = "2">
		<Street>Oxford Street</Street>
		<Country>United Kingdom</Country>
	<Publisher id ="1">
		<Name>MacMillan Inc</Name>
	<Publisher id ="2">
		<Name>Publishers Inc</Name>

And the output I am looking for is something like this [if the id's match for the childnodes then group it together]

Title : XML
Author : ABC
Address : Washington Street, USA
Publisher : MacMillan Inc

Title : XSL
Author : DEF
Address : Oxford Street, United Kingdom
Publisher : Publishers Inc

and so on ....

Any idea will be appreciated.

Get your FREE download of MSN Explorer at http://explorer.msn.com

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread