c# - how to insert nodes in xml string file -


i have xml string .that contain elements message format, attribute collection, input, output. want add nodes , value output element attribute collection element .for have do..?first take values output element , store in 1 dictionary , add attribute collection or straight way there..?all appreciated.. following xml string

<messageformat  xmlns:i="http://www.w3.org/2001/xmlschema-instance"> <attributecollection> <bucode>1</bucode><clientcode>1</clientcode><ispaid>false</ispaid>  </attributecollection> <input> <qty>4</qty> </input> <output> <soid>43</soid> </output> </messageformat> 

so want add node (soid. may more 1 node)from output attribute collection.

a way make easier create new xmldocument xml string. can manipulate xml data using xml api.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -