Einhugur Xml Plugin for Xojo |

# Document.FromString Method

Loads document from string, returning EinhugurXml.Document.

shared FromString(
data as String) as EinhugurXml.Document

#### Parameters

data
  The buffer to load.

#### Returns

EinhugurXml.Document

#### Remarks

If there was error parsing the Xml then EinhugurXmlParserException is thrown. The EinhugurXmlParserException has properties to get details of what was wrong with the Xml file.

This function can throw EinhugurXmlParserException.

#### See Also

Document Class