Skip to content

$XmlRepository.Save

Overview

void $XmlRepository.Save ( targetPath, node )
Saves the specified node outer xml to the specified target path.

Arguments

String targetPath Specifies the unique identifier of path to save. If there is any data in the specified path, the child path will be deleted and replaced with the new node value.

Path argument is separated by '/' character to create tree structures.

XmlNode node Specifies the xml node to be saved.

Remarks

Examples

Saves the customer node to repository

$XmlRepository.Save( 'Customers/' + customerNode.Evaluate('Id'), customerNode);

See Also