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 A. Lee" <dlee@xxxxxxxxxxx>
Date: Tue, 29 Dec 2009 13:56:06 -0500
Yes ! This is what I was looking for, thank you both.

David A. Lee
dlee@xxxxxxxxxxx http://www.calldei.com
http://www.xmlsh.org
812-482-5224




David Carlisle wrote:
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