![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Displaying a table column by column Displaying a table column by columnTo: NULL Date: 2/14/2007 7:18:00 AM
Hi,
I have an xml file looking like :
<col>
<line>11</line>
<line>21</line>
</col>
<col>
<line>12</line>
<line>22</line>
</col>
Using the xsl file :
<table>
<xsl:for-each select=3D"/*">
<tr>
<xsl:for-each select=3D"line">
<td>
<xsl:value-of select=3D"node()"/>
</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>
I manage to print out the following table (printed line by line) :
11 21
12 22
But I need to print out (printed column by column):
11 12
21 22
Does anybody have a hint on how to do that ?
I need to do that automatically because my real table is far bigger
than the one I've shown here as an example.
Thanks a lot,
C=E9dric
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
