[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] a weird bug today, tree seems to change mid transform


Subject: Re: [xsl] a weird bug today, tree seems to change mid transform
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Sat, 08 Sep 2007 16:39:15 +0200

Abel Braaksma wrote:

<xsl:template match="/"> <xsl:variable name="copy"> <xsl:apply-templates mode="copy" /> </xsl:variable> <xsl:apply-templates select="msxml:nodeset($copy)" />

that last line should've been


<xsl:apply-templates select="msxml:nodeset($copy)/*" />

otherwise you will end up in an eternal recursive loop....

-- Abel


Current Thread