This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Newbie question: copying almost all nodes in XSLT
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Newbie question: copying almost all nodes in XSLT
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 13 Mar 2000 09:57:47 -0000
- Reply-To: xsl-list at mulberrytech dot com
> Im trying to do two xslt transformations chained after each other.
If you can't combine the operations directly, there are two approaches to
chaining:
1. Use the node-set extension. The first transformation creates a result
tree fragment, you convert this to a node-set using the node-set() extension
function, then you process this node-set with the second transformation.
It's probably best for each transformation to use a separate mode.
2. Use two stylesheets, and arrange (via the XSLT vendor's published API) to
pipe the output of the first as the input to the second. The details will
vary for each product. Saxon has an extension <saxon:output
next-in-chain="phase2.xsl"> to make this kind of chaining easy.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list