How to read XML structure (elements' name only) from XML document?

The forum thread has not been reviewed by Editors yet. Readers are advised to use their best judgement before accessing this thread.
This thread will be reviewed shortly.
If you think this thread contain inappropriate content, please report to webmaster.
Dear all

I read some ASP.NET books that mentioned using the TreeView can help to resolve the above question. But could anyone help me in a solid example how to use ths Tree View in ASP.NET with C#?

For example, if I had the following XML:

<enterprise>

<properties>
<datasource>MySQL</datasource>
<datetime>2006-06-16T18:44:10+0800</datetime>
</properties>

<person>
<sourcedid>
<source>My SQL Database</source>
<id>19999</id>
</sourcedid>
<userid>abc</userid>
<name>
<fn>John</fn>
<n>
<family>DOE</family>
<given>John</given>
</n>
</name>
<datasource>MySQL</datasource>
</person>

</enterprise>

I would like to have the XML structure output like this:

enterprise

properties
datasource
datetime

person
sourcedid
id
userid
name
fn
n
family
given
datasource

Whatever the "properties" or "person" repeat how many in the XML document, I would just like to see the simple structure as above. Please help me.

Thanks regards
Bryan