Get the name of the root element of a XML string excluding the XML deceleration:
<!-- Returns name of first none-comment root tag: rootTag --><rootTag> <inner /></rootTag Copy
<!-- Returns name of first none-comment root tag: rootTag --><rootTag> <inner /></rootTag
XML string or buffer
Optional
When true the function will return undefined when the XML string does not start with a XML declaration
Name of the root tag in the XML file
Get the name of the root element of a XML string excluding the XML deceleration: