It should be easy and clear, but I canβt find a way - it XMLOutputFactorytakes anly OutputStream, Resultor another Writerto create a new one XMLStreamWriter.
What I have on hand is XMLStreamReaderthat has no methods for extracting a Resultor OutputStream.
If the solution was simpler using the Event API, that would be nice too.
thank
source
share