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

Complicated Table

Subject: Complicated Table
From: DEV SEN <devksen@xxxxxxxxxxx>
Date: Tue, 1 Oct 2002 17:09:57 -0700 (PDT)
complicated table
Hi, Hi, 

I wonder if anyone can help with this problem I'm
having formatting an xml table. I want to know how to
use xsl to format something like this ("numrows" could
be up to 200):


<table name="Table: Auto records" numcols="5"
numrows="4">
	<column_info num="1" name="Make of Car"/>
	<column_info num="2" name="Model"/>
	<column_info num="3" name="Year"/>
	<column_info num="4" name="Color"/>
	<column_info num="5" name="Condition"/>
	<row num="1">
		<column num="1">Ford</column>
		<column num="2">Pinto</column>
		<column num="3">1972</column>
		<column num="4">blue</column>
		<column num="5">Slight Fire Damage</column>
	</row>
	<row num="2">
	        <column num="1">Ferarri</column>
		<column num="2">Testarossa</column>
		<column num="3">1999</column>
		<column num="4">Red</column>
		<column num="5">Shiny</column>
	</row>
	<row num="3">
		<column num="1">Maclaren</column>
		<column num="2">F1</column>
		<column num="3">2002</column>
		<column num="4">Gunmetal</column>
		<column num="5">A Blur</column>
	</row>
	<row num="4">
		<column num="1">BMW</column>
		<column num="2">7 Series</column>
		<column num="3">2002</column>
		<column num="4">Black</column>
		<column num="5">New</column>
	</row>
</table>

It's not even slightly clear to me where to start. How
do the attributes like "numcols" and "numrows" figure
in, not to mention how do you connect the variable
"num" from column_info to the num from the rows? 

Any help would be tremendously appreciated. 

Mille Grazie,
johan


 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.