Hello and God Bless,
I am stumped trying to get a simple xml database replacing certain data
with other data programmatically. This is what my xml looks like.
****************************************
<Root_Element>
<Topic index="1">
<Sub_Topic>
<Notes></Notes>
<Notes></Notes>
</Sub_Topic>
</Topic>
<Topic index="2">
<Sub_Topic>
<Notes></Notes>
<Notes></Notes>
<Notes></Notes>
</Sub_Topic>
<Sub_Topic>
<Notes></Notes>
</Sub_Topic>
</Topic>
<Topic index="3">
<Sub_Topic>
<Notes></Notes>
</Sub_Topic>
</Topic>
</Root_Element>
****************************************
What i want to do is navigate to <Topic index="2">, and replace all
child nodes under it with new nodes.
Keep in mind that the number of nodes replacing the current ones will be
different. For instance, i wll replace the 2 <Sub_Topics> under <Topic
index="2"> with 4 <Sub_Topics> with different <Notes> under them.
I can read both C# and VB.Net, so it doesnt matter what language you
write in. Please help me.
Thank you all, and God Bless.
Ralph - 28 Sep 2006 03:25 GMT
> I can read both C# and VB.Net, so it doesnt matter what language you
> write in. Please help me.
Unfortunately neither of those are spoken here. This is a Classic VB
newsgroup (VB6 and lower). For dotNet issues you need to post in a dotnet
newsgroup.
microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.languages.vb.upgrade
microsoft.public.dotnet.framework.sdk
microsoft.public.vsnet.general
microsoft.public.vstudio.general
-ralph