Field-Map Scripting

4.1.11.1.4 OpenXMLDocumentFromString

OpenXMLDocumentFromString function


Prototype:

function OpenXMLDocumentFromString(const strXML: string) : TScriptXMLDocument;

Description:

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

Syntax:

variable := OpenXMLDocumentFromString(FileName);


Part

Description


variable

A variable declared as an instance of the TScriptXMLDocument class


strXML

string containing the XML to be opened

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