Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Removes current node and returns in array.

Array<Xml> myXml.Remove()

Removes all nodes on specified xpath and returns removed nodes in array.

Array<Xml> myXml.Remove(xpath: string)

Arguments

string xpath
XPath of nodes to remove. If not specified current node is used.

Example

Remove all customer nodes

var deletedCustomers = $Xml.Remove('//Customer');
  • No labels