Hi Guys, I have a problem when trying to do a recursive loop inside another. I'm trying to build a dymanic crossword. I do add a param/var to the end of an exiting varaible.
For example $allAnswer-Row1
I want to add 1 ($allAnswer-Row+1) on the 1st loop, 2 ($allAnswer-Row+2) on the second, etc.
I want to use this for line 1, 3 & 5 below, rather than making lines 10 to 16 etc.
-----------------------------
<xsl:comment>Crossword : Row 1 Output</xsl:comment>
<tr>
<xsl:call-template name="explodeString">
<xsl:with-param name="txt" select="$allAnswer-Row1"/>
<xsl:with-param name="rowNo" select="'1'"/>
</xsl:call-template>
</tr>
<xsl:comment>Crossword : Row 2 Output</xsl:comment>
<tr>
<xsl:call-template name="explodeString">
<xsl:with-param name="txt" select="$allAnswer-Row2"/>
<xsl:with-param name="rowNo" select="'2'"/>
</xsl:call-template>
</tr>
etc
etc
--------------------
Many thanks
Here is what I've done so far, using XSQL (with MySQL) & XSLT:
http://storm-cloud.cs.cse.dmu.ac.uk:...sql/index.xsql
-----------------