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

XML to HTML table

Subject: XML to HTML table
From: "Modha Kumar" <modha@xxxxxxxxxxx>
Date: Sat, 13 Nov 2004 18:38:43 +0000
xml to html table
Hi All

I have a XML file from which I need to create HTML table.

<table>
   <row>
	<name> row1</name>
           <green>col2</green>
           <red></red>
     </row>
     <row>
	<name> row2</name>
           <green>col3</green>
           <red>col1</red>
     </row>
     <row>
	<name> row3</name>
           <green></green>
           <red>col1</red>
     </row>
</table>

If there are n row elements it is a nXn table.
If the element in the row <green> or <red> is not empty I have to place a green or red marker (lets say a green / red dot) in
the column for that row. The value of these elements is one of the rownames.


Can anyone please give me a transform for this.

Thanks

_________________________________________________________________
Life on the fast track! Get hooked to it! http://server1.msn.co.in/sp04/tataracing/ Meet the champs!


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.