is_xml function

Checks if the text is a valid XML node, that is, it has a opening and matching closing tag