如何将符合xml规范的String转化为XML文档中的element对象
如何将符合xml规范的String转化为XML文档中的element对象:
/**
* 字符串转化为XML对象并加入到XML中的某一个节点下
* @throws DocumentException
*/
public void stringToXml() throws DocumentException{
SAXReader saxReader = new S...
2011-09-05 20:54:54 ·
466 阅读 ·
0 评论