Changeset 67:eb1176488313 in rrlib_xml


Ignore:
Timestamp:
04.05.2020 22:58:53 (3 years ago)
Author:
Max Reichardt <mreichardt@…>
Branch:
17.03
Children:
68:02721adf0711, 69:b9bd564ea70c
Parents:
65:0b2210253d4b (diff), 66:809c9ecdfdc7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Phase:
public
Message:

Merge with 14.08

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tDocument.h

    r63 r67  
    4646#include <string> 
    4747 
    48 extern "C" 
    49 { 
    5048#include <libxml/tree.h> 
    51 } 
    5249//---------------------------------------------------------------------- 
    5350// Internal includes with "" 
  • tDocument.h

    r66 r67  
    194194  tNode &AddRootNode(const std::string &name); 
    195195 
     196 
     197  /*! Find a node in this XML document via a path in DOM tree representation 
     198   * 
     199   * Given a path to the searched node, an xpath query is executed 
     200   * on the DOM tree representation of this document in order to locate 
     201   * the respective XML node. If the query is successful, a reference 
     202   * to the node is returned, otherwise an exception is thrown. 
     203   * 
     204   * \exception tException is thrown if the query cannot be executed or the node cannot be found 
     205   * 
     206   * \param name   The path to the searched node in the DOM tree of this document 
     207   * 
     208   * \returns A reference to the found node 
     209   */ 
     210  const tNode &FindNode(const std::string &name) const; 
     211 
     212 
    196213  /*! Write the XML document to a file 
    197214   * 
Note: See TracChangeset for help on using the changeset viewer.