Is there an easier way to parse XML in Java?

前端 未结 13 514
没有蜡笔的小新
没有蜡笔的小新 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 02:50

    Starting w/ Java 5, there is an XPath library in the SDK. See this tutorial for an introduction to it.

提交回复
热议问题