java中构造xml的Document对象
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();DocumentBuilder builder = factory.newDocumentBuilder();StringReader sr = new StringReader(collectionXml[1]);InputSource is = new InputSource(sr);Document document = builder.parse(is);