Function
Define a function
Child elements
ClearPage, Column, Columns, ForAll, Group, LoadDataset, Loop, Message, NextFrame, NextRow, Param, PlaceObject, ProcessNode, SaveDataset, SetVariable, Switch, Value
Parent elements
Attributes
name(text, optional)- The name of the function (with namespace prefix).
Example
<Layout xmlns="urn:speedata.de/2021/xts/en"
xmlns:sd="urn:speedata.de/2021/xtsfunctions/en"
xmlns:fn="mynamespace"
>
<Record element="data">
<PlaceObject>
<Textblock>
<Paragraph>
<Value select="fn:add(3,4)"></Value>
</Paragraph>
</Textblock>
</PlaceObject>
</Record>
...
<Function name="fn:add">
<Param name="a" />
<Param name="b" />
<Value select="$a + $b" />
</Function>Print out the number 7.