[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Is it possible to modify the source-tree?
Pardon my ignorance, but I'm not familiar with this "xx:node-set()" call. Do I have to use oraxslt2 like David said or can I continue to use Saxon8B? Thanks, Anupam. --- Michael Kay <mike@xxxxxxxxxxxx> wrote: > The general approach to writing a multiphase transformation in one > stylesheet is > > <xsl:variable name="v1"> > <xsl:apply-templates select="/" mode="phase1"/> > </xsl:variable> > > <xsl:variable name="v2"> > <xsl:apply-templates select="xx:node-set($v1)" mode="phase2"/> > </xsl:variable> > > <xsl:variable name="v3"> > <xsl:apply-templates select="xx:node-set($v2)" mode="phase3"/> > </xsl:variable> > > <xsl:template match="/"> > <xsl:apply-templates select="xx:node-set($v3)" mode="phase4"/> > </xsl:template> > > In 2.0 you don't need the calls on xx:node-set(). > > So you give these preprocessing templates a mode of "phase1" and invoke the > processing as in the example above. > > Michael Kay > http://www.saxonica.com/ __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
|
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
|