Search found 1 match
- Fri Mar 22, 2019 2:56 pm
- Forum: HowTos
- Topic: Add XML Fragment to Existing XML
- Replies: 2
- Views: 3928
Add XML Fragment to Existing XML
Hi all, i want to add an XML fragment to an existing XML document and can't find a way. e.g.: string xml ="<foo><bar/></foo>"; string subxml = "<coockie>chocolate</coockie>"; string result = "<foo><bar><coockie>chocolate</coockie></bar></foo>"; does anybody have an idea...