modify InnerXml of a XElement

Posted by voodoomsr on Stack Overflow See other posts from Stack Overflow or by voodoomsr
Published on 2010-04-08T22:51:37Z Indexed on 2010/04/08 22:53 UTC
Read the original article Hit count: 819

Filed under:
|
|
|

is there a simple way to modify the InnerXml of a XElement? supose we have this extremely simple xml

and we want to append some xml that come from another source that comes like a string ".....blablabla" into the earth node.

I read related questions but they talk about retrieving the innerxml of a XElement and i don't understand how "modify" the actual Xelement :(

© Stack Overflow or respective owner

Related posts about c#

Related posts about xelement