[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Newbie question: copying almost all nodes in XSLT

Subject: RE: Newbie question: copying almost all nodes in XSLT
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 13 Mar 2000 09:57:47 -0000
xslt all node
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.