Version 5.9.4

# `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>

#### On this page