public static XMLBuilder2 parse ( String xmlString , boolean enableExternalEntities , boolean isNamespaceAware ) { return XMLBuilder2 . parse ( new InputSource ( new StringReader ( xmlString ) ) , enableExternalEntities , isNamespaceAware ) ; }
Construct a builder from an existing XML document string . The provided XML document will be parsed and an XMLBuilder2 object referencing the document s root element will be returned .