Parse XML files with strange syntax<>
This question already has an answer here:
- XML child node attribute value 3 answers
The dom4j library is great if your XML all fits into memory.
Document doc = DocumentHelper.parseText(xmlString);
Note: use the 1.6.1 version, as the 2.0 version is not active and development stopped in alpha.