is_xml function

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

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

Returns

TRUE if the text is valid XML, FALSE otherwise

Author(s)

Richèl J.C. Bilderbeek