If you have loaded the XML into an XmlDocument object and if you have found
the ns0:Proposal element, let's call it "XmlElement e", then you could do
the following:
e.ParentNode.ReplaceChild(e.FirstChild, e);
"Nikhil Patel" <ni********@aol.com> wrote in message
news:eJ**************@TK2MSFTNGP09.phx.gbl...
Hi all,
Following in a portion of an xml document. I would like to replace
"nso:Proposal" node with its child "w:p" node programmatically. How can I
do this?
Thanks.
<ns0:Proposal>
<ns0:Company>
<w:p>
<w:r>
<w:t>test company</w:t>
</w:r>
</w:p>
</ns0:Company>
</ns0:Proposal>