This command is used for quering xml by Xpath from some file. Command syntax:
Code Block |
---|
cmdmgr.exe query_xml --xml_file=<path to file> --xpath=<XPath query> |
...
- xml_file – path to xml file;
- xpath – XQuery for xml, loaded form file.
Example
Code Block |
---|
cmdmgr.exe query_xml --xml_file=../cfg/roots.xml --xpath="//roottable[@name='starweb']" |
...
Figure 42. query_xml command example.