看板 [ java ]
討論串[問題] XML Document轉String
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者montreal (╮(╯3╰)╭)時間19年前 (2006/12/17 17:00), 編輯資訊
0
0
0
內容預覽:
補完:. /* 把 xmlString 再變回 org.jdom.Document */. SAXBuilder saxBuilder = new SAXBuilder(false);. Reader stringReader = new StringReader(xmlString);. org.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者calais007 (淺水中)時間19年前 (2006/12/17 12:42), 編輯資訊
0
0
0
內容預覽:
引述《montreal (╮(╯3╰)╭)》之銘言:它文件上面不就有有寫. 要用API之前要先看使用說明阿. 在Document class的文件說明上toString()這樣寫. toString. public java.lang.String toString()This returns
(還有269個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者montreal (╮(╯3╰)╭)時間19年前 (2006/12/17 11:56), 編輯資訊
0
0
0
內容預覽:
請問各位. 當用JDOM實現XML,產生Document類別後. 如何將之轉為String,又如何轉回Document?. (像是XOM的Document.toXML()傳回String功能). 謝謝. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 61.216.174.17
首頁
上一頁
1
下一頁
尾頁