![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Displaying a table column by column >Thread Next - Re: Displaying a table column by column Re: Displaying a table column by columnTo: NULL Date: 2/14/2007 6:00:00 PM cedric.louyot@g... wrote: > I've just found another solution which is a bit different from yours : > > <table> > <tbody> > <xsl:for-each select="col[1]/line"> > <xsl:variable name="numLine" select="position()"/> > <tr> > <xsl:for-each select="../../col"> > <xsl:variable name="numCol" select="position()"/> > <td> > <xsl:value-of select="."/> > </td> > </xsl:for-each> > </tr> > </xsl:for-each> > </tbody> > </table> > > You use templates (whereas I don't) which makes your solution > clearer. > However you use the following-sibling axes and I don't use it (I use > another xsl:variable instead). Somehow what you posted does not look complete. Where do you use the variables? -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
