LoadXML

Load an XML file previously written by SaveXML (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 LoadXML 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 match="articles">
  <LoadXML name="toc"/>
  <ClearPage/>
  <ProcessNode select="article"/>
</Record>

See also