472,110 Members | 2,328 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,110 software developers and data experts.

adding node to an xml file

gundarap
Hello everybody,
I'm a starter to Python programming.
My goal is to first read an xml file and add the elements to the dictionary.
Note that xml file I'm using is a simple file without any attributes...
e.x.
<?xml?>
<AR>
<BD>Data</BD>
</AR>
Next step is to add a node to the xml file and verify if the node exists in the xml file or not.
Can anybody, please help me with the valuable code?
Thanks in advance.
Regards,
Pavan
Aug 16 '07 #1
0 850

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by serge calderara | last post: by
2 posts views Thread by Keith M | last post: by
1 post views Thread by Bart Steur | last post: by
60 posts views Thread by Bill Cunningham | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.