Element

Create a data structure that can be used to save on the hard-drive between consecutive runs (with SaveDataset).

Child elements

Attribute, Copy-of, Element, ForAll, Loop, Makeindex, SortSequence, Switch, Value

Parent elements

Case, Element, ForAll, Loop, Message, Otherwise, SaveDataset, SetVariable, Until, While

Attributes

name (text)

Name of the element that gets created.

Example

<SetVariable variable="articles">
  <Element name="articlelist">
    <Attribute name="name" select=" @name "/>
    <Attribute name="page" select="sd:current-page()"/>
  </Element>
</SetVariable>

See also

Commands <Attribute>, <LoadDataset> and SaveDataset as well as the section Creation of XML structures.