Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: i give up - please help i give up - please helpTo: NULL Date: 10/5/2004 9:13:00 AM XML Description (1.1):
<root>
<mNodes att="A1"></mNodes>
<mNodes att="A2"></mNodes>
<mNodes att="A3"></mNodes>
<mNodes att="A4"></mNodes>
<mNodes att="A5"></mNodes>
<mNodes att="A6"></mNodes>
<mNodes att="A7"></mNodes>
<mNodes att="A9"></mNodes>
<mNodes att="A10"></mNodes>
<mNodes att="A11"></mNodes>
</root>
Of course I could have more than 11 nodes.
How to make a XSL for building a table with custom number of columns =
iNoCols
Let's say iNoCols = 3
<table>
<tr>
<!--- col 1 --->
<td nowrap>
A1<br>
A2<br>
A3<br>
</td>
</tr>
<tr>
<!--- col 2 --->
<td nowrap>
A4<br>
A5<br>
A6<br>
</td>
</tr>
<tr>
<!--- col 3 --->
<td nowrap>
A7<br>
A8<br>
A9<br>
</td>
</tr>
<tr>
<!--- col 4 --->
<td nowrap>
A10<br>
A11<br>
</td>
</tr>
</table>
General content:
Being given a XML defined in (1.1) having n mNodes, I need a XSL to
format the XML in a table with iNoCols.
Lots of thanks for who can help me.
Regards,
Jackie
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
