All pastes #423938 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-04 14:24 UTC
rendered paste body
xmlisable * 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 ;
}