how to use boost lib property tree to get children name

Hi
I have read the 5 min tutorial that provided by boost.org but i have no idea of how to get the children' names.

For example given that there is an XML file like the following

<Head>
<Data1>
</Data1>
</Head>

After the XML file has been parsed and stored in the property tree, how do i use property tree to get the children name? For instance i want to get the root name "Head" without knowing the XML file structure
Topic archived. No new replies allowed.