i want to Canonicalize a Stax object, the program it's doing it with DOM, but dom can't manage big XML documents (like 1GB), so STAX it's the solution.
The Code that i ...
I have some difficulties to parse an XML using Stax in order to create org.w3c.dom.Document objects for parts of the XML tree.
Ex.:
<root>
<children>
<child>child 1</child>
<child>child 2</child>
<child>child 3</child>
</children>
</root>
=> I would like to create 3 ...
I would like to extract all text elements which appear directly as a child node to the root node. I've had a glance at java standard sax fascilities using