The CopyOf function copies the entire contents of
the source node to the destination node.
The CopyOf function (
) copies the entire contents of the
source node (the entire subtree of the source node including all children)
to the destination node.
Attention: The XML Schema
of the destination node must match the XML Schema of the source node
for the CopyOf function to correctly copy the
values of the source nodes to the destination nodes.
For
example, if the
Call Procedure activity returns
the following result set nodes (through the
any node)
during run time:
- results/result/resultSet/column1, where column1 is
an integer.
- results/result/resultSet/column2, where column2 is
an integer.
The XML Schema of the destination nodes in the
To
Orchestration pane, must match the expected XML Schema
of the result set that is returned from the
Call Procedure activity,
as shown in the following figure:
In the preceding
figure, the CopyOf function (
) is linking
the source result node and the destination result node.
Parameter: input
The
name of the source nodes to copy.
Returns: anySimpleType
The
resulting subtree of XML data.