|
Subject: (dsssl) XSLT - HTML - Table - Columns From: Raghavendra_Gowdu@xxxxxxxxxxxxxxx Date: Fri, 4 Oct 2002 14:27:39 -0400 |
XSLTers, I tried couple of options. Not successful. May be simple!. Any
clue is appreciated.
I want to create a multi header html table from an XML.
Here how the my input xml look like
<College>
<Pupil>
<Name val="John Smith"/>
<Cource nam="Science" val="$100"/>
<Cource nam="Social" val="$112"/>
<Cource nam="Politics" val="$21"/>
</Pupil>
<Pupil>
<Name val="Kim Smith"/>
<Cource nam="Science" val="$200"/>
<Cource nam="Social" val="$212"/>
<Cource nam="Politics" val="$31"/>
</Pupil>
</College>
My desired output is
<html>
<body>
<table border="1">
<tr>
<td> </td>
<td>John Smith</td>
<td>Kim Smith</td>
</tr>
<tr>
<td>Science</td>
<td>$100</td>
<td>$200</td>
</tr>
<tr>
<td>Social</td>
<td>$112</td>
<td>$212</td>
</tr>
<tr>
<td>Politics</td>
<td>$21</td>
<td>$31</td>
</tr>
</table>
</body>
</html>
Any help is appreciated. My last resolution would ask to change the input
XML.
- Advance Thanks
RAGHAV
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Thread | RE: (dsssl) XSLT - HTML - Table - C, Bita Akhlaghi | |
| Date | RE: (dsssl) XSLT - HTML - Table - C, Bita Akhlaghi | |
| Month |