I use this great tool (http://www.codesynthesis.com/products/xsd/c++/tree/) to convert xsd to C ++ code.
I am trying to get an xml string from under node, but the only thing I can get is all xml, for example:
all xml:
<?xml version="1.0"?> <people ....> <person id="1"> <first-name>John</first-name> <address> .... </address> </person> ...
I can get all xml to do something like this:
people_t& p = ... xml_schema::namespace_infomap map; map[""].schema = "people.xsd";
But I want to get only <addresses> xml sub node, for example. It can be done? How can I do that?
thanks
source share