I'm filling an XML document manually using C# and I need to have <data>
as header and </data>
as footer for the whole XML file. Is there an easy way to do that ? I know It can be done but I couldn't find a way to do it. Keep in mind that I'm updating the entries so I need to make sure that they always come between the header and the footer.
Thanks
Example
<data>
Entry
New Entry 1
New Entry 2
</data>