Field-Map Scripting

4.1.11.1.3 OpenXMLDocumentExt

OpenXMLDocumentExt function


Prototype:

function OpenXMLDocumentExt(const FileName : string; var ErrorMsg :string) : TScriptXMLDocument;

Description:

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

Syntax:

variable := OpenXMLDocumentExt(FileName, ErrorMsg);


Part

Description


variable

A variable declared as an instance of the TScriptXMLDocument class


FileName

The name and path of the XML file to be opened


ErrorMsg

error message to be displayed if the file does not open

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