Miscellany
public text v1 · immutablexmlisable * docXml::consctruitObjets() {
std::cout << this->doc->write_to_string_formatted() << std::endl ;
xmlpp::Element * noeudPrinc = this->doc->get_root_node();
std::cout << noeudPrinc->get_name() << std::endl ;
xmlpp::Node::NodeList listeElem = noeudPrinc->get_children();
for(xmlpp::Node::NodeList::iterator iterLE = listeElem.begin();
iterLE != listeElem.end(); ++ iterLE) {
xmlpp::Node * nElem = *iterLE;
std::cout << nElem->get_name() << std::endl ;
}
return NULL ;
}