Command «query_xml»

This command is used for quering xml by Xpath from some file.

Syntax

Command syntax:

cmdmgr.exe query_xml --xml_file=<path to file> --xpath=<XPath query>

Parameters

Command parameters:

  • xml_file – path to xml file;

  • xpath – XQuery for xml, loaded form file.

Example

cmdmgr.exe query_xml --xml_file=../cfg/roots.xml --xpath="//roottable[@name='starweb']"
query_xml command example