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, Contents, ForAll, Function, Loop, Otherwise, Record, SavePages, Until, 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"/>
<ClearPage/>
<ProcessNode select="article"/>
</Record>
See also
Commands <Element>, <Attribute> and <SaveDataset> as well as the section Creation of XML structures.