LoadDataset
Load an XML file previously written by SaveDataset (attribute name) or a well formed XML file (attribute filename). The regular data processing is interrupted and the contents of the data file is taken as a data source. If the file does not exist, the call to LoadDataset is ignored.
Child elements
(none)
Parent elements
AtPageCreation, AtPageShipout, Case, Loop, Otherwise, While
Attributes
filename(text, optional)-
Filename of the XML file to load. Example:
myfile.xml. name(text, optional)-
Name of the data file. Example: toc
Example
<Record element="articles">
<LoadDataset name="toc"/>
<NewPage/>
<ProcessNode select="article"/>
</Record>
See also
Commands <Element>, <Attribute> and <SaveDataset> as well as the section Creation of XML structures.