Check if a string is XML formatted

Reko24

New Member
I'm wondering if there's a function in Ruby like \[code\]is_xml?(string)\[/code\] to identify if a given string is XML formatted.
 
Back
Top