I'm currently trying to read in an XML file, make some minor changes (alter the value of some attributes), and write it back out again.
I have intended to use a StAX ...
I'm looking for the best method to parse various XML documents using a Java application. I'm currently doing this with SAX and a custom content handler and it works great ...
I'm using stax to parse my document, here is a dummy example of my XML document :
<title lang="eng">Harry Potter</title>
<title lang="eng">Learning XML</title>
I am using StAX to construct an XML document using an XMLStreamWriter.
However, there are portions of my document where it is difficult to make calls to XMLStreamWriter's methods ...