Copy-of
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
The selection (most likely a variable) that is to be copied.
<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.