[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: 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
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member