public Document readxml(URL url) throws MalformedURLException,DocumentException {
SAXReader reader = new SAXReader();
Document document = reader.read(url);
return document;
}
由file取得xml
public Document readxml(URL url) throws MalformedURLException,DocumentException {
SAXReader reader = new SAXReader();
Document document = reader.read(url);
return document;
}
沒有留言:
張貼留言