Java使用dom4j生成xml的時候 第二行空行 並xmlns無效問題

                Element root = null; Document document = DocumentHelper.createDocument(root); root = document.addElement("Message","http://www.chinaport.gov.cn/ENT"); 上面代碼解決 xmlns無效問題 ,Message是根節點
相關文章
相關標籤/搜索