May 2018
Intermediate to advanced
328 pages
8h 15m
English
Navigation through the elements and attributes of an XML file can be done with XPath. XPath uses XPath expressions for that purpose and there is a long list of built-in functions for that. pugixml supports XPath expressions and you can use the select_nodes() method from the xml_document class for that purpose. Note that, if an error occurs during the XPath selection, an xpath_exception is thrown. The following XPath expressions can be used for selecting the nodes according to the problem requirements:
The following program ...
Read now
Unlock full access