Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / parser / xml / Reader.h
index ca57e0f..42c0d90 100644 (file)
@@ -49,7 +49,7 @@ namespace zypp
      *
      * \code
      * // Consume a node.
-     * bool consumeNode( xml::Reader & reader_r )
+     * bool consumeNode( XML::Reader & reader_r )
      * {
      *   DBG << *reader_r << endl;
      *   return true;
@@ -60,7 +60,7 @@ namespace zypp
      * {
      *   try
      *     {
-     *       xml::Reader reader( "/Local/repodata/repomd.xml" );
+     *       XML::Reader reader( "/Local/repodata/repomd.xml" );
      *       reader.foreachNode( consumeNode );
      *     }
      *   catch ( const Exception & )
@@ -70,19 +70,19 @@ namespace zypp
      *
      * \code
      * // Consume a node.
-     * bool consumeNodeAndAttribute( xml::Reader & reader_r )
+     * bool consumeNodeAndAttribute( XML::Reader & reader_r )
      * {
      *   consumeNode( reader_r );
      *   return reader_r.foreachNodeAttribute( consumeNode );
      * }
      *
-     * // Consume all nodes and their attributes.
+     * // Consume all nodes and thair attributes.
      * void example()
      * {
      *   Pathname repodata( "/Local/repodata/repomd.xml" );
      *   try
      *     {
-     *       xml::Reader reader( "/Local/repodata/repomd.xml" );
+     *       XML::Reader reader( "/Local/repodata/repomd.xml" );
      *       reader.foreachNode( consumeNodeAndAttribute );
      *       // or:
      *       // reader.foreachNodeOrAttribute( consumeNode )
@@ -105,7 +105,7 @@ namespace zypp
     public:
 
       /**
-       *  If the current node is not empty, advances the reader to the next
+       *  If the curent node is not empty, advances the reader to the next
        *  node, and returns the value
        *
        * \note if the node has a xml subtree you will probably jump to that node