How to iterate an file using rapidXml and store it in a map... Something like creating a dictionary using the contents of file. I have tried this but i can get only开发者_高级运维 the first level of key-value pairs not the inner levels.
typedef map <string, string> MapType;
  MapType                 mProfiles;
        mXmlDocument.parse<parse_full>(&xml_copy[0]);
        for (xml_node<> *node = mXmlDocument.first_node();
             node; node = node->next_sibling())
        {
            mProfiles[node->name()] = node->value();
        }
Besides the value of the node, also examine the type.  If the type is rapidxml:::node_element or rapidxml:::node_document it may have children.
See the member function rapidxml::print_node in rapidxml_print.hpp.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论