I have an xml file (potentially large) which I would like to process and update with the derived information. I would like to use staxmate to do this if possible. I have found documentation on reading and writing http://wiki.fasterxml.com/StaxMateTutorial ...but little on round-tripping (i.e. doing both).
I suspect the following will play a part in this... http://woodstox.codehaus.org/3.2.6/javadoc/org/codehaus/stax2/XMLInputFactory2.html#configureForRoundTripping%28%29
What I was expecting to find is a function which when passed an SMHierarchicCursor would write it and its children to an SMOutputContainer (or something similar to that).
In particular I would like to use Staxmate to do something like... How to modify a huge XML file by StAX?