Victor Charles
asked on
Help with renaming and deleting tables in an xml file using VB.NET
Hi,
How do you rename a table and also delete a particular table? Foe example if I have
<Root>
-<fields xmlns:xfdf="http://ns.adobe.com/xfdf-transition/">
<IemA>
<IemB>
</fields>
-<fNSC>
<IemA>
</NSC>
</Root>
How do I obtain
<Root>
-<fiels>
<IemA>
<IemB>
</fields>
</Root>
How do you rename a table and also delete a particular table? Foe example if I have
<Root>
-<fields xmlns:xfdf="http://ns.adobe.com/xfdf-transition/">
<IemA>
<IemB>
</fields>
-<fNSC>
<IemA>
</NSC>
</Root>
How do I obtain
<Root>
-<fiels>
<IemA>
<IemB>
</fields>
</Root>
ASKER
Hi Fernando,
I will send you another example shortly
Yes, the data elements will contain data.
Thsnks
Victor
I will send you another example shortly
Yes, the data elements will contain data.
Thsnks
Victor
ASKER
From:
<Root>
-<fields xmlns:xfdf="http://ns.adobe.com/xfdf-transition/">
<IemA>xxxx</ItemA>
<IemB>yyyy</ItemB>
</fields>
-<NSC>
<IemA>ggggg</ItemA>
</NSC>
</Root>
How do I obtain
<Root>
<fields>
<IemA>xxxx</ItemA>
<IemB>yyyy</ItemB>
</fields>
</Root>
Thanks.
<Root>
-<fields xmlns:xfdf="http://ns.adobe.com/xfdf-transition/">
<IemA>xxxx</ItemA>
<IemB>yyyy</ItemB>
</fields>
-<NSC>
<IemA>ggggg</ItemA>
</NSC>
</Root>
How do I obtain
<Root>
<fields>
<IemA>xxxx</ItemA>
<IemB>yyyy</ItemB>
</fields>
</Root>
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you, I will try it later and get back to you.
Victor
Victor
ASKER
Thank You.
Not a problem Victor, glad to help.
The XML structure given under the title "How do I obtain" is invalid. For example <fiels> has no end tag and </fields> has no begin tag. Also <IemA> and <IemB> have no end tag or did you mean to have this <IemA /> and <IemB />. Also are all these nodes to have no data associated with them?
Open in new window