tags:

views:

20

answers:

1

I received a user defined XML file and want to programmatically read and display it on a browser using ASP.net. I also want to allow users to add more tags, elements with their attributes according to the existing schema through the web interface used to display the XML. Where can I find some techniques with examples?

Example:

<?xml version="1.0" standalone="yes"?>
<bookstore>
    <book ISBN="10-000000-001" 
        title="The Iliad and The Odyssey" 
        price="12.95">
    <comments>
        <userComment rating="4" 
            comment="Best translation I've read." />
        <userComment rating="2" 
            comment="I like other versions better." />
      </comments>
   </book>
</bookstore>

The XML file contains a nested structure — each book can contain its property values, as well as one or more comments as separate elements. I want to allow users to view each of the property values and change them as well as add more userComment tags.