xsl-list
[Top] [All Lists]

RE: overwriting certain blocks of output - two queries

2005-05-25 14:55:49


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


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>