How do I add a new attribute to the existing xml Document tree???
Add attribute using pyxml
Collapse
This topic is closed.
X
X
-
PyPKTags: None -
uche.ogbuji@gmail.com
Re: Add attribute using pyxml
"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.se tAttributeNS(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/
Comment