How to load XML document in List View

csivaraj

Member
Joined
Mar 29, 2005
Messages
11
Programming Experience
Beginner
Hi

How to load XML file in a TreeView, when we load the xml content in the tree view, it should show only the TAGS, Inner texts to be ignored.

The expected view should be like this (list of all the tags involved in the XML)

TreeView
<Document>
<Head>
</Head>
<title>
</title>
<author>
</author>
<Address>
</address>
</Document>


No need of "+" or "-" before the start of the tag

Each Tag to be on a new line

Kindly advice me on how to achive this

sample code is very helpful

Sivaraj C
 
Back
Top