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

Grouping

Subject: Grouping
From: "Tevoi Andrea" <tevoi@xxxxxx>
Date: Mon, 24 Mar 2003 09:27:35 +0100
 Grouping
Hi all,

I have this xml:

<root>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
	<child></child>
</root>

and i have to write an xsl that gives this output:

<?xml version="1.0" encoding="UTF-8"?>
<root>
	<parent>
		<child></child>
		<child></child>
	</parent>
	<parent>
		<child></child>
		<child></child>
	</parent>	
	<parent>
		<child></child>
		<child></child>
	</parent>	
	<parent>
		<child></child>
		<child></child>
	</parent>
	<parent>
		<child></child>
		<child></child>
	</parent>
</root>

that is a grouping of 2 child, but this number is not a constant, instead it is a parameter.



thanks in advance,

Andrea Tevoi

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


Current Thread
  • Grouping
    • Tevoi Andrea - Mon, 24 Mar 2003 03:24:25 -0500 (EST) <=
      • <Possible follow-ups>
      • Jarno . Elovirta - Mon, 24 Mar 2003 03:51:59 -0500 (EST)

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.