58
58
SVG::Element* element = doc.get_root();
59
59
std::cout << "root's name is \"" << element->get_name() << "\"" << std::endl;
60
60
xmlpp::NodeSet nl = element->find("//path[@style != '']");
63
63
SVG::Path* path = dynamic_cast<SVG::Path*>(nl[0]);
64
64
std::cout << "style of first path node with a style = \"" << path->get_style() << "\"" << std::endl;