Hi.
Is any possibility to set different outputs in XSL2 transform from java, not from XSL stylesheet
(i mean i want to set OutputStream not file name)
greetings
Piotr
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, sorry for not responding earlier. I don't get notified of messages on this forum. The forum seems to have recently reappeared with changes to the Sourceforge GUI, and I hadn't noticed it.
You can write to two different URIs from the stylesheet (using xsl:result-document) and then intercept the output by nominating an OutputURIResolver, which can direct the output to a destination of your choice.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
Is any possibility to set different outputs in XSL2 transform from java, not from XSL stylesheet
(i mean i want to set OutputStream not file name)
greetings
Piotr
First, sorry for not responding earlier. I don't get notified of messages on this forum. The forum seems to have recently reappeared with changes to the Sourceforge GUI, and I hadn't noticed it.
You can write to two different URIs from the stylesheet (using xsl:result-document) and then intercept the output by nominating an OutputURIResolver, which can direct the output to a destination of your choice.