xsl-list
[Top] [All Lists]

Re: How to access the output document in XSL

2004-09-07 01:34:54
Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 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



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