Java Programming XML 程式設計 網路 java

Print output while Processing HTML/XML data in Jsoup Project

Currently, I encountered one problem while retrieving XML data from one website. In my case, assume that the original XML document is like <result><device /><name>Allen’s device</name></result> If I use Jsoup.parse(File, “UTF-8”); without additional options, the returned document object will be like: <result><device><name>Allen’s device</name></result> The weired result is <device> is just an open tag but without close […]

Read More
Back To Top