[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Passing Parameters or ?
> I am new to XSL so the following may seem trivial, but I > could not find the answer in the > FAQ. How does one pre-process a document or node and then use > the result in a second pass? > Like this: <xsl:variable name="temp-tree-1"> <xsl:apply-templates select="/" mode="phase1"/> </xsl:variable> <xsl:variable name="temp-tree-2"> <xsl:apply-templates select="xx:node-set($temp-tree-1)" mode="phase2"/> </xsl:variable> <xsl:template match="/"> <xsl:apply-templates select="xx:node-set($temp-tree-2)" mode="phase3"/> </xsl:template> The xx:node-set() is an extension function supplied by your favourite vendor. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|