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

Arbitrarily breaking up a table

Subject: Arbitrarily breaking up a table
From: Linus-Lin <LLin@xxxxxxxxxxxxxxx>
Date: Fri, 8 Sep 2000 17:32:26 -0400
generate xml from datarow
I have the following structure
<TABLE>
  <HEADERROW>
	<HEADER>a</HEADER> <HEADER>b</HEADER> <HEADER>c</HEADER>
  </HEADERROW>
  <DATAROWS>	
     <DATAROW>
	<DATA>1</DATA> <DATA>1</DATA> <DATA>1</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>2</DATA> <DATA>2</DATA> <DATA>2</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>3</DATA> <DATA>3</DATA> <DATA>3</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>4</DATA> <DATA>4</DATA> <DATA>4</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>5</DATA> <DATA>5</DATA> <DATA>5</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>6</DATA> <DATA>6</DATA> <DATA>6</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>7</DATA> <DATA>7</DATA> <DATA>7</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>8</DATA> <DATA>8</DATA> <DATA>8</DATA>
     </DATAROW>
     <DATAROW>
	<DATA>9</DATA> <DATA>9</DATA> <DATA>9</DATA>
     </DATAROW>
  </DATAROWS>
</TABLE>

Normally a bunch of applied templates could easily create one table with 9
rows. 

What I need is to generate three tables from the same XML each with its own
table header.

First table would (arbitrarily) have 5 consective rows (rows 1-5).
Second table would have 2 consecutive rows (6-7).
Third table would have 2 consective rows (8-9).

Can some help with scheme????



 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.