Best method to parse various custom XML documents in Java

I would use Stax to parse XML, it’s fast and easy to use. I’ve been using it on my last project to parse XML files up to 24MB. There’s a nice introduction on java.net, which tells you everything you need to know to get started.

Leave a Comment