apend element to existing xml

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
hi
hi i have follwing existing xml<br/>
<?xml version="1.0"?><br/>
<rss><br/>
<FINANCE><br/>
<title>ABC</title><br/>
<description>asf asfa sfasfasfa sfas f a</description><br/>
<date>25/11/2011</date><br/>
</FINANCE><br/>
<CHARTER><br/>
<title>xyz</title><br/>
<description>as asfa sfasfa sfasfas </description><br/>
<date>25/12/2011</date><br/>
</CHARTER><br/>
<FINANCE><br/>
<title>PQR</title><br/>
<description>sad asdfasdas dasdfa sfasfas fasfasfas</description><br/>
<date>11/11/2011</date><br/>
</FINANCE><br/>
</rss><br/>
<br/>
now i want to add <br/>
<br/>
<FINANCE><br/>
<title>AAA</title><br/>
<description>test</description><br/>
<date>11/12/2012</date><br/>
</FINANCE><br/>
just before the closing root element i.e </rss><br/>
how to do it with c#.......<br/>
Thanks in advence <hr class="sig Harshad..... Always 4 U

View the full article
 
Back
Top