Save¶
Saves the given XML data to the specified path in the repository.
$XmlRepository.Save(path: string, xml: ( string | Xml )):void (Xml)
Parameters¶
string path
The path to save the data to. If data already exists at this path, the child path is replaced.
( string | Xml ) xml
The XML data to save, as a string or an Xml object.
Remarks¶
path and xml are required. Saving replaces the repository document at the path; it does not merge the supplied XML with existing content.