title: Iterate through PTree children w/o including tag name
body: <p>I would like to know if there is a way to get the data in children nodes by iterating through a vector of the parent nodes. I have an XML file that I plan on changing frequently so hardcoding the attribute names is something I would like to avoid. Thus, I want to extract the data within my children nodes without stating the tag name of the nodes by using <code>pt.get_child(myparentNodes)</code>. I have this in my main.</p>
  <p>Any assistance is greatly appreciated!</p>
  <pre><code>vector&lt;string&gt; parentNodes;
  ptree pt;
  ifstream fileName(&quot;myxml&quot;);
  read_xml(fileName, pt);
  
  for(const ptree::value_type &amp;parent : pt)
  {
      cout &lt;&lt; parent.first &lt;&lt; std::endl;
      parentNodes.push_back(parent.first);
    
  }
   for(int i=0; i&lt;parentNodes.size();i++)
   {
  BOOST_FOREACH(boost::property_tree::ptree::value_type const &amp;node,pt.get_child(parentNodes[i]))
  
  /* I'm having trouble properly accessing the children nodes here */
  </code></pre>