Is it possible using StAX (specifically woodstox) to format the output xml with newlines and tabs, i.e. in the form:
someData &
If you're using the StAX cursor API, you can indent the output by wrapping the XMLStreamWriter in an indenting proxy. I tried this in my own project and it worked nicely.