1.字符串转Document对象
String xmlStr =
".....";
StringReader sr = newStringReader(xmlStr);
InputSource is = newInputSource(sr);
Document doc = ( newSAXBuilder()).build(is);
StringReader sr = newStringReader(xmlStr);
InputSource is = newInputSource(sr);
Document doc = ( newSAXBuilder()).build(is);