Using the style sheet above I want to be able to change the value of "columnCount" at the top of the style sheet and there by set the number of columns displayed in my html table. The format of the xml is irrelevant I believe. hmmm...so changing the 4 to a variable is not possible in a match statement. Does that mean I'll need to somehow perform this calculation within a
JS function and return the value to some sort of variable or sumthin. Wow, this is deep stuff. I think I like it :-)
<xsl:template match="child::node()[(position()-1) mod 4 = 0]" > </xsl:template>
<xsl:template match="child::node()[(position()-1) mod 4 != 0]" /> </xsl:template>