xsl-list
[Top] [All Lists]

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

2007-09-08 07:40:33
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--