F
fischertm
I'm trying to add a chile node to a document that looks like the
following:
<Configuration>
<Main>
<one> ONE </One>
<Two> TWO </Two>
</Main>
<Multiples>
<Entry>
<Name> TEST </Name>
<Date> DATE </Date>
<Other> OTHER </Other>
</Entry>
<Entry>
<Name> xxxxx </Name>
<Date> yyyyy </Date>
<Other> zzzzz </Other>
</Entry>
</Multiples>
</Configuration>
----------------------------------------------------------------------------
I need to add a new <Entry> into the <Multiples> Node. the problem I am
having is that when adding using the InnerXML and XMLTextWriter, I add
a new <Entry > below the </Multiples> node.
Any help is appreciated.
following:
<Configuration>
<Main>
<one> ONE </One>
<Two> TWO </Two>
</Main>
<Multiples>
<Entry>
<Name> TEST </Name>
<Date> DATE </Date>
<Other> OTHER </Other>
</Entry>
<Entry>
<Name> xxxxx </Name>
<Date> yyyyy </Date>
<Other> zzzzz </Other>
</Entry>
</Multiples>
</Configuration>
----------------------------------------------------------------------------
I need to add a new <Entry> into the <Multiples> Node. the problem I am
having is that when adding using the InnerXML and XMLTextWriter, I add
a new <Entry > below the </Multiples> node.
Any help is appreciated.