Checks if the text is a valid XML node, that is, it has a opening and matching closing tag
is_xml(text)
text
TRUE if the text is valid XML, FALSE otherwise
Richèl J.C. Bilderbeek
Useful links