Setting and moving message elements using a .NETCompute node
You can transform elements in the message as it passes through a .NETCompute node in the message flow.
About this task
Setting information about an element
About this task
- Name
- This property sets the name of the current element
- ValueType
- This property sets the specific type of the current element.
- Namespace
- This property sets the namespace URI of the current element
- SetValue
- This method sets the value of the current element
Moving elements
About this task
- Detach
- This method detaches the current element from the tree.
- DetachAllChildren
- This method detaches all children of the current element from the tree.
Use one of the following methods to attach an
element or subtree that you have copied on to another tree:
- AddBefore
- This method adds an element before the referenced element.
- AddAfter
- This method adds an element after the referenced element.
- AddFirst
- This method adds an element as the first child of the referenced element.
- AddLast
- This method adds an element as the last child of the referenced element.
Removing elements
About this task
- Delete
- This method deletes the referenced element from the tree.
- DeleteAllChildren
- This method deletes all children of the referenced element from the tree.