Re: [xsl] How to access the output document in XSL

Subject: Re: [xsl] How to access the output document in XSL
From: Oleg Tkachenko <oleg@xxxxxxxxxxxxx>
Date: Tue, 07 Sep 2004 10:34:54 +0200
Jarno.Elovirta@xxxxxxxxx wrote:

I need to checkout if a specific node has been generated in the output
document. Is there a way to access the output document?.


Not during the transformation unless you use an extension of some sort. If you're using XSLT 2.0, you can generate the output into a variable, check the variable content, and then copy the variable content into the result tree.

As a matter of curiosity, in .NET it's possible to use the same DOM tree as both source and result tree. Probably the same goes for Java. I'm not telling that's good idea, but still interesting.
--
Oleg Tkachenko
http://blog.tkachenko.com
Multiconn Technologies, Israel


Current Thread