xsl-list
[Top] [All Lists]

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

2009-12-29 13:56:34
Yes ! This is what I was looking for, thank you both.

David A. Lee
dlee(_at_)calldei(_dot_)com 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


--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>