Elementname: Copy-of

Description

Replace this element by the copy of the selection as an element structure. You can use it to construct more complex data structures.

Allowed attributes: select

Child elements: (none)

Parent elements: Case, Element, ForAll, Loop, Otherwise, SaveDataset, SetVariable, Table, Tablefoot, Tablehead, Td, Text, Textblock, Tr, Until, While

Attributes

select (XPath Expression)

The selection (most likely a variable) that is to be copied.

Example

<SetVariable variable="myparagraph">
  <Paragraph>
    <Value select="@name"/><Value>, Symbol=</Value><Value select="@symbol"/>
  </Paragraph>
</SetVariable>
<PlaceObject>
  <Textblock>
    <Copy-of select="$myparagraph"/>
  </Textblock>
</PlaceObject>

is the same as

<PlaceObject>
  <Textblock>
    <Paragraph>
      <Value select="@name"/><Value>, Symbol=</Value><Value select="@symbol"/>
    </Paragraph>
  </Textblock>
</PlaceObject>

with the exception that the values of @name and @symbol can be evaluated before the text gets output.

See also

Value, XPath expressions, SetVariable

Commands

Version: 3.5.9 | Start page | Command reference | Other language: German