Remove¶
Removes the current node and returns it in an array.
1 | |
Removes all nodes at the specified XPath and returns the removed nodes in an array.
1 | |
Parameters¶
string xpath
The XPath of the nodes to remove. If not specified, the current node is used.
Returns¶
The removed nodes.
Remarks¶
The nodes are removed from the document immediately. To mark rows as deleted the way container form controls do, set their State attribute instead and remove them later with Xml.CommitDeletes.
Examples¶
Remove a selected node¶
1 2 3 4 5 | |
Remove nodes that match a condition¶
1 2 | |
See Also¶
- Array<Xml>
- Xml.CommitDeletes