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

is_xml(text)

Arguments

text

text to be determined to be valid

Value

TRUE if the text is valid XML, FALSE otherwise

Author

Richèl J.C. Bilderbeek