How do I add another element/childnode to a specific parent node in an XML file?
Specifically a new video object to the media node. I want to turn this:
<?xml version="1.0" encoding="utf-8" ?>
<media>
    <Video name="Gladiator">
     <English>path1</English>
     <Chinese>path2</Cinese>
     <French>path3</French>
    </Video>
    <Video name="Transformers">
     <English>path4</English>
     <Chinese>path5</Cinese>
     <French>path6</French>
    </Video>
</media>
into this:
<?xml version="1.0" encoding="utf-8" ?>
<media>
    <Video name="Gladiator">
     <English>path1</English>
     <Chinese>path2</Cinese>
     <French>path3</French>
    </Video>
    <Video name="Transformers">
     <English>path4</English>
     <Chinese>path5</Cinese>
     <French>path6</French>
    </Video>
    <Video name="Terminator">
     <English>path7</English>
     <Chinese>path8</Cinese>
     <French>path9</French>
    </Video>
</media>
If I open an xmlTextwriter, create a new element tag, add attributes and end the element tag; it deletes all previous data in the text file :/