When using saxon:next-in-chain in a stylesheet, the result
of the current stylesheet is directed to the following
stylesheet (the one declared in next-in-chain) and then
output to the orignal desination.
What I'm trying to do is this:
stylesheet A -> stylesheet B -> stylesheet C -> final output
(please forgive my poor ascii art skills)
How I try to achieve this, is to use result-document in
stylesheet B, but in fact the contents of result-document
get processed by the rest of the chain (stylesheet C) before
Is there a way to somehow bypass the chain for result-document,
and yet letting it run its course for the main transformation?