How can i parse the following XML using JDOM

前端 未结 3 1683
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-17 02:47

I have an XML document as follows:




  
    Wha         


        
3条回答
  •  忘掉有多难
    2021-01-17 03:20

    Use Element.getChildren(String) to get all of the question tags and loop through that List - calling getChildren(String) to get all of the answers, or getChild(String) if there can be only one child element.

提交回复
热议问题