Validates if the specified string has a valid XML syntax structure.
String or Buffer to validate, when a buffer is passed it iis converted to a string before parsing.
True if the string is valid XML otherwise false.
Validates if the specified string has a valid XML syntax structure.