create nested nodes

xml India
  • 15 years ago

    Hi,


    I need to prepare a schema where in i am able to save repetitive nodes under a particular parent node.


    To elaborate, i need to create a schema similar to the following:


    <User>
       <Name> XYZ </Name>
       <Order>
            <OrderDate> OrderDate </OrderDate>
             <OrderNumber> OrderNumber </OrderNumber>
        </Order>
       <Order>
             <OrderDate> OrderDate </OrderDate>
             <OrderNumber> OrderNumber </OrderNumber>
        </Order>
       <Order>
             <OrderDate> OrderDate </OrderDate>
             <OrderNumber> OrderNumber </OrderNumber>
        </Order>
    </User>


    How do i set the schema using the XML Schema file and fill the values using dataset?


    Any help will be appreciated.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The question of whether computers can think is just like the question of whether submarines can swim.” - Edsger W. Dijkstra