I am making an XML parser that needs to take multiple XML files in one go and parse them as individual files all from the same HTTP post.
The layout of them are roughly the same - here's an example of 2 of the XMLs together:
<?xml version="1.0" encoding="UTF-8"?>
<report>
...
</report>
<report>
...
</report>
I was thinking maybe some way of Java finding each instant of </report>
and ultimately splitting the full XML into multiple and parsing each one separately. Is this possible using DOM and if not, is there any way this is possible in Java?