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

Grouping question

Subject: Grouping question
From: "Spectron International, Inc." <spectron@xxxxxxxxx>
Date: Tue, 21 May 2002 10:04:53 -0400
 Grouping question
I have the following XML:

<data>
  <n color="R">1</color>
  <n color="R">2</color>
  <n color="R">3</color>
  <n color="Y">4</color>
  <n color="Y">5</color>
  <n color="Y">6</color>
  <n color="W">7</color>
  <n color="W">8</color>
  <n color="W">9</color>
</data>

and I want to create 3 tables (one for each color) with 2 columns each:

<table>
  <tr><td>1</td><td>2</td></tr>
  <tr><td>3</td></tr>
</table>
<table>
  <tr><td>4</td><td>5</td></tr>
  <tr><td>6</td></tr>
</table>

<table>
  <tr><td>7</td><td>8</td></tr>
  <tr><td>9</td></tr>
</table>

I have checked the grouping section in http://www.dpawson.co.uk/xsl/ but
none of the samples do what I need. How can I do that?

Faw


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


Current Thread

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.