Is there an easier way to parse XML in Java?

前端 未结 13 507
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 02:50

I\'m trying to figure out how to parse some XML (for an Android app), and it seems pretty ridiculous how difficult it is to do in Java. It seems like it requires creating an

相关标签:
13条回答
  • 2020-11-30 03:16

    You could also use Castor to map the XML to Java beans. I have used it before and it works like a charm.

    0 讨论(0)
提交回复
热议问题