[xsl] dynamic html table generation

Subject: [xsl] dynamic html table generation
From: "Garvin Riensche" <g.riensche@xxxxxxx>
Date: Sat, 25 Oct 2003 22:12:49 +0200
Hi there,

I have the following problem. I do have some elements (not knowing their
count) and want to insert them into table-columns where always after 4
inserted elements the next 4 elements should be stored in the next column. I
have alreaday done this with always beginning a new _row_ every 4 elements.
that could be done with 2 loops (a1 are the elements that should be stored):

  <xsl:for-each select="a1[position() mod 4 = 1]">
      <xsl:for-each select=".|following-sibling::*[position() &lt;4]">
          <xsl:value-of select="."/>

But how can that be done with columns?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread