$XmlRepository¶
$XmlRepository provides access to the XML repository.
You can query the XML repository using the $XmlRepository.Query or $XmlRepository.QueryXml methods.
For data manipulation, you can use the $XmlRepository.Save and $XmlRepository.Delete methods.
1 | |
Examples¶
Save a record and query it later¶
1 2 3 4 5 6 | |
Capabilities¶
Persistence¶
$XmlRepository.Delete: Deletes any existing data at the specified path in the repository.$XmlRepository.Save: Saves the given XML data to the specified path in the repository.
Querying¶
$XmlRepository.Query: Executes an XQuery against the repository and returns the results as an array of strings.$XmlRepository.QueryXml: Executes an XQuery against the repository and returns the results as an array of XML nodes.