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

RE: overwriting certain blocks of output - two queries

Subject: RE: overwriting certain blocks of output - two queries
From: "Aron Bock" <aronbock@xxxxxxxxxxx>
Date: Wed, 25 May 2005 21:55:49 +0000
xslt output overwriting
input.xml (call to first.xsl) --> first.xsl (some processing) --> first.xml (use saxon:next-in-chain) -->second.xsl (target certain o/p areas of first.xml) -->second.xml (final result)


I'm not qualified to speak to next-in-chain, but from hearsay it should address what you want. Howeve, note that in principle interim output need not be serialised as files--they could just be held in memory and fed to the next stylesheet in chain.



How do I overwrite certain nodes while preserving the remaining structure?
Also is it possible to overwrite other blocks of first.xml retrospectively, say the block Top/Parts/A, if a certain condition is met later on ?

Note that there's no notion of "overwriting" things -- the interim output, fed to the next stylesheet in chain, is, for all it knows, brand new input, for it to preserve or munge as it will. Stylesheets after the first could refer to the original input (via document(), for instance), but the chaining business simply obviates the need for a separate, controlling application.


Regards,

--A

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


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.