Add attribute using pyxml
uche.ogbuji at gmail.com
uche.ogbuji at gmail.com
Fri Nov 4 11:58:39 EST 2005
"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/
More information about the Python-list
mailing list