我想讀取供稿條目,我現在只是卡住了。以此爲例:https://stackoverflow.com/feeds/question/2084883可以說我想讀取文檔中每個入口節點內的所有彙總節點值。我怎麼做?我已經改變了很多代碼的變化這一個最接近我想要實現我想: Element entryPoint = document.getRootElement();
Element elem;
我正在嘗試使用dom4j來驗證xml在http://www.w3schools.com/Schema/schema_example.asp使用來自同一頁的xsd。它失敗,出現以下錯誤: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'shiporder'.
我用下面的代碼: SA