~ubuntu-branches/ubuntu/precise/libxml++2.6/precise

« back to all changes in this revision

Viewing changes to examples/sax_parser_entities/myparser.cc

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-03-13 15:46:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050313154633-iubyqdtu6y3p8915
Tags: 2.10.0-0ubuntu2
added doxygen to the build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
void MySaxParser::on_start_element(const Glib::ustring& name,
46
46
                                   const AttributeList& attributes)
47
47
{
48
 
  /*
49
48
  std::cout << "node name=" << name << std::endl;
50
49
 
51
50
  // Print attributes:
52
 
  for(AttributeMap::const_iterator iter = attributes.begin();
53
 
      iter != attributes.end();
54
 
      ++iter)
 
51
  for(xmlpp::SaxParser::AttributeList::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter)
55
52
  {
56
 
    std::cout << "  Attribute " << iter->first << " = " << iter->second << std::endl;
 
53
    std::cout << "  Attribute " << iter->name << " = " << iter->value << std::endl;
57
54
  }
58
 
  */
59
55
}
60
56
 
61
57
void MySaxParser::on_end_element(const Glib::ustring& name)