Field-Map Scripting

4.1.11.1.5 OpenXMLDocumentFromStringExt

OpenXMLDocumentFromStringExt function


Prototype:

function OpenXMLDocumentFromStringExt(const strXML, ErrorMessage: string) : TScriptXMLDocument ;

Description:

Use OpenXMLDocumentFromStringExt to open the specified string XML document and make it available for other ScriptingXML members.

Syntax:

variable := OpenXMLDocumentFromStringExt(FileName; ErrorMessage);


Part

Description


variable

A variable declared as an instance of the TScriptXMLDocument class


strXML

string containing the XML to be opened


ErrorMessage

A variable declared as a string. This is an out parameter, which should not be assigned to.

Return value:

TScriptXMLDocument instance or nil if the document could not be open or parsed



See also:

OpenXMLDocument; OpenLockedXMLDocument; OpenXMLDocumentExt; OpenXMLDocumentFromString; OpenXMLDocumentFromStringExt; FreeXMLDocument; GetAttributeValueFromXMLDocument


Example