C
Christian Havel
Hi,
I have a string (C#) which contains XML in the following format:
<entity="MyType" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
<!-- hier können noch beliebig viele weitere Einträge vorkommen -->
</entity>
I want to save this string to a eventually already existing XML file.
If the file already contains any data the new data should be added at the
bottom.
The result should look like the following:
<entities>
<entity="MyType1" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
</entity>
<entity="MyType2" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
</entity>
--> Add further data here <--
</entities>
How can I do this using C# and .NET 1.1?
Christian
I have a string (C#) which contains XML in the following format:
<entity="MyType" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
<!-- hier können noch beliebig viele weitere Einträge vorkommen -->
</entity>
I want to save this string to a eventually already existing XML file.
If the file already contains any data the new data should be added at the
bottom.
The result should look like the following:
<entities>
<entity="MyType1" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
</entity>
<entity="MyType2" date="10.04.2007" furtherInformation="moreInfos">
<item name="MyName" value="MyValue"/>
</entity>
--> Add further data here <--
</entities>
How can I do this using C# and .NET 1.1?
Christian