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(_at_)saxonica(_dot_)com> 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
--~------------------------------------------------------------------
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>
--~--