XMLDocument
BI# represents XML documents with the XMLDocument data type. To create a new XML document from scratch, use the XMLCreateDocument function:
XMLDocument document = XMLCreateDocument();
To transform an existing XML document string into an XMLDocument object, use the XMLParseDocument function:
XMLDocument document = XMLParseDocument(“<root attribute=’x’><child>Content</child></root>”);