Subject: Re: How can i transform output stream again.
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 3 May 2001 15:26:19 -0400
|
[<Larry_Mason@xxxxxx>]
>
> By using the node-set you can re-process your "intermediate" output which
> is XML thru XSLT processing again to get your final output.
>
> This is what I do
>
> <xsl:template match="/">
> <xsl:variable name="temp">
> <xsl:apply-templates/>
> </xsl:variable>
> <xsl:apply-templates select = "xt:node-set($temp)" mode="pass2"/>
> </xsl:template>
>
Best to point out that it takes a processor-specific extension to be able to
convert to a node-set. Some processors can do it, some cannpt.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|