Command "LoadDoc"

Summary

Loads a (XML-)document. The command belongs to the group "File".


Parameters

Parameter Name Description Type
FileName The path and filename to load. valueexpression
NewDocRef The name of the reference under which the document will be accessible saveDocumentReference

Valid parameter combinations



Description

Loads a new input document from disk. The file can then be processed by QiQu. Use "NewDocRef" to reference the newly loaded document from within a command.

Examples


Example 1

The example below loads a new document. The file name is a valueexpression, which is in this case the combination of a "filename" property and an ".xml" literal.
<LoadDoc FileName="$filename + '.xml'" NewDocRef="$inModel">