Previous Topic: LANGUAGESNext Topic: LOCALAPPDATAPATH


LoadDocument

LoadDocument

The LoadDocument command loads a document and returns true in case of success. After the document is loaded, you can use other commands to perform operations on the document.

This command has the following format:

LoadDocument ( <Filepath>, <FileType>, [Source/Destination])
FilePath

Specifies the path of the file.

FileType

Specifies the type of the document.

Note: Supported document type is Type_XML, that is, the document must be an XML document.

Source/Destination

Specifies the source or the destination computer.

Example: Load a Document

This example loads an XML document, abc.xml:

LoadDocument("C:\\abc.xml", TYPE_XML, SOURCE);