-----Original Message-----
From: Glenn MacGregor
<snip />
I need a template which will loop through all the <item> tags and
replace the
"<var/>" tag in the <do> section with CDATA of the current item
tag echoing all
the rest of the do tag to the result (without the <do> tag).
Hi,
If you have control over both XML and XSL, I think it would be more
'stylish' to have only the item elements in the source XML, and transform
them like:
<xsl:template match="foreach/in/item" mode="testrow">
<tr><td><xsl:value-of select="." /></td>
...</tr>
</xsl:template>
Cheers,
Andreas
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list