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 2 Next »

Overview

Deletes any existing data on specified path.

void $XmlRepository.Delete(targetPath: string)

Arguments

string targetPath
Specifies the path to delete. If there is any data in the specified path, the child path will be deleted.

Example

Delete a Customer
$XmlRepository.Delete( 'Customers/' + customerNode.Evaluate('Id') );

Example

Delete all customers
$XmlRepository.Delete( 'Customers' );

Examples

Delete a Customer
$XmlRepository.Delete( 'Customers/' + customerNode.Evaluate('Id') );
Delete all customers
$XmlRepository.Delete( 'Customers' );
  • No labels