Subject: hi please help me on xml deletion
Posted By: karthikc85 Post Date: 10/10/2006 4:20:43 AM
hi ,
<employees>
  <employee id="1">
    <efname>
      karthik
    </efname>
    <elname>
      reddy
    </elname>
    <eadd>
      hyderabad
    </eadd>
  </employee>
  <employee id="2">
    <efname>
      keerthi
    </efname>
    <elname>
      reddy
    </elname>
    <eadd>
      nellore
    </eadd>
  </employee>
</employees>

hi ,
i want to delete a node named <employee id="1">
i have to write the code in c# in asp.net application.whenever user enters the id in the textbox and clicks the delete button then the node must be removed can any body please help me out.

thanks,
karthik reddy chintaparthi.

Reply By: mhkay Reply Date: 10/10/2006 6:09:36 AM
You need to explain where you are having difficulty. Just describing an application requirement and asking for help isn't really good enough, unless you also explain where you got stuck.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference

Go to topic 50800

Return to index page 153
Return to index page 152
Return to index page 151
Return to index page 150
Return to index page 149
Return to index page 148
Return to index page 147
Return to index page 146
Return to index page 145
Return to index page 144