public static XMLBuilder2 parse(
        String xmlString, boolean enableExternalEntities, boolean isNamespaceAware)
    {
        return XMLBuilder2.parse(
            new InputSource(new StringReader(xmlString)),
            enableExternalEntities,
            isNamespaceAware);
    }
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.

@param xmlString
an XML document string that will be parsed into a DOM.
@param enableExternalEntities
enable external entities; beware of XML External Entity (XXE) injection.
@param isNamespaceAware
enable or disable namespace awareness in the underlying
{@link DocumentBuilderFactory}
@return
a builder node that can be used to add more nodes to the XML document.