Re: [xsl] Re parsing element data generated by XSLT within the same stylesheet

Subject: Re: [xsl] Re parsing element data generated by XSLT within the same stylesheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 29 Dec 2009 18:51:48 GMT
yes, assuming you are using xslt2, just do the forst pass into a
variable

<xsl:variable name="x">
  ...whatever you do so far..
</xsl:variable>

then apply teplates to the new variable, in a separate mode if there is
a possibility of the various phases interacting badly.

<xsl:apply-templates mode="pass2" select="$x"/>

David

Current Thread