• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Append New content in previous XML generated using StreamResult

 
Azrael Noor
Ranch Hand
Posts: 384
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generating XML Twice
But second time i want to append content to previous XML

How to do that?

present code is this:



If stream result could not be used what could else can be used? (My hand is paining while typing :banghead

Thank you to Answerres
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13045
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since an XML document can have only one root element, you can't simply append a new serialized DOM to an existing file and get a combined document.

Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic