RE: [xsl] Grouping ?

Subject: RE: [xsl] Grouping ?
From: "Sreeram" <hsreeram@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Jun 2001 18:41:11 +0530
Hi Damodaran,

  Can't you try selec using
  @id="1", "2" etc. in a loop. I don't remember the syntax, since I'm not in
touch with xml.
  But this type of grouping is surely possible.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kanthi
Sent: Friday, June 08, 2001 12:50 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] Grouping ?

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

 XSL-List info and archive:

 XSL-List info and archive:

Current Thread