|
-
December 19th, 2011, 08:45 AM
#1
Adding Data in XML files.
I have got an Xml like below. I want to "add" data in it. Tried alot of forums.....none helped. Hope I get some here.
eg.<?xml version="1.0" encoding="us-ascii"?>
<!--Version 5.0.0.0 - 4/12/2011-->
<SalesReport>
<ProductList>
</ProductList>
<Customers>
<Customer ID="47530">
<Name>Mr. Andrews</Name>
<Address>27/A, Wimpole Street</Address>
<Membersince>1/11/11</Membersince>
</Customer>
</Customers>
</SalesReport>
I want to make it-
<!--Version 5.0.0.0 - 4/12/2011-->
<SalesReport>
<ProductList>
</ProductList>
<Customers>
<Customer ID="47530">
<Name>Mr. Andrews</Name>
<Address>27/A, Wimpole Street</Address>
<Membersince>1/11/11</Membersince>
</Customer>
<Customer ID="47530">
<Name>Mr. Smith</Name>
<Address>41/B, Cruise Street</Address>
<Membersince>23/04/11</Membersince>
</Customer>
</Customers>
</SalesReport>
I have to do it in vb.net and have got around 2 weeks before I submit this. Please help me......
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|