Subject: apply-templates iside for-each?
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Fri, 3 Nov 2000 15:57:25 -0400 (EST)
|
Presented with this construction:
<xsl:for-each select="child::*">
<xsl:variable name="x.ischunk">
<xsl:call-template name="chunk"/>
</xsl:variable>
<xsl:if test="$x.ischunk != 0">
<xsl:apply-templates select="."/>
</xsl:if>
</xsl:for-each>
XT complains:
file:book2.xml:6: xsl:apply-templates inside xsl:for-each
That's an XT bug, right? Or am I overlooking something?
Be seeing you,
norm
--
Norman.Walsh@xxxxxxxxxxxx | Men do not quit playing because they grow
XML Technology Center | old; they grow old because they quit
Sun Microsystems, Inc. | playing.--Oliver Wendell Holmes
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|