Skip to content

LoadDataset#

Load an XML file previously written by SaveDataset (attribute name) or a well formed XML file (attribute href). 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, Until, While

Attributes#

href (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#