By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 935 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.

Add attribute using pyxml

P: n/a
How do I add a new attribute to the existing xml Document tree???

Nov 1 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"How do I add a new attribute to the existing xml Document tree??? "

what do you mean by "using pyxml"? There are several pyxml modules.
Do you mean minidom? If so that comes with stock Python as well (hint:
element_node.setAttributeNS(ns, qname)).

--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/

Nov 4 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.