[Home] [By Thread] [By Date] [Recent Entries]
This morning Michael Kay showed this streaming code:
<xsl:for-each select="/*/record/copy-of()">
...
</xsl:for-each>
His placement of copy-of() is interesting. Is the following loop equivalent?
<xsl:for-each select="/*/record">
<xsl:variable name="record" select="copy-of()"/>
...
</xsl:for-each>
Is one form better/preferred?
/Roger
|

Cart



