Best method to parse various custom XML documents in Java

后端 未结 6 1026
死守一世寂寞
死守一世寂寞 2020-12-04 01:56

What is the best method to parse multiple, discrete, custom XML documents with Java?

6条回答
  •  星月不相逢
    2020-12-04 02:29

    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.

提交回复
热议问题