Menu

Two different OutputStreams

saxon-help
Falcorn
2006-11-17
2012-10-08
  • Falcorn

    Falcorn - 2006-11-17

    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

     
    • Michael Kay

      Michael Kay - 2006-11-30

      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.