*
* \code
* // Consume a node.
- * bool consumeNode( XML::Reader & reader_r )
+ * bool consumeNode( xml::Reader & reader_r )
* {
* DBG << *reader_r << endl;
* return true;
* {
* try
* {
- * XML::Reader reader( "/Local/repodata/repomd.xml" );
+ * xml::Reader reader( "/Local/repodata/repomd.xml" );
* reader.foreachNode( consumeNode );
* }
* catch ( const Exception & )
*
* \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 thair attributes.
+ * // Consume all nodes and their 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 )
public:
/**
- * If the curent node is not empty, advances the reader to the next
+ * If the current 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