摘要:
只记录代码如下代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->privateElementgetElementFromString(Strings){SAXReaderbuilder=newSAXReader();Documentdoc=null;Elementelement=null;try{doc=builder.read(newStringReader(s));}catch(DocumentExceptione){//TODOAut 阅读全文