XmlDocument.FromString (gb.xml)

Sub FromString ( Data As String )

Removes all the content of this document, and loads its new contents from the given XML string.

If the given string is invalid, then an error will be raised.