DataType.XML.parse()
The XML module of the DataType Utility allows you to take a string and convert it to an XML document.
String to parse:
<myroot><item type='foo'><name>Abc</name><rank>1</rank></item><item type='bar'><name>Def</name><rank>2</rank></item><item type='bat'><name>Ghi</name><rank>3</rank></item></myroot>