How to nested loop (for each)

bungpeng

Well-known member
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
I got problem in 2 for-each loop,
it cannot display what I want,
my code:

<table border=1>
<xsl:for-each select="rows">
<tr>
<xsl:for-each select="cols">
<td>column name</td>
</xsl:for-each>
</tr>
</xsl:for-each>
</table>

May I know how to solve this problem?
 
Back
Top