Add attribute using pyxml

U

uche.ogbuji

"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)).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Forum statistics

Threads
474,270
Messages
2,571,341
Members
48,031
Latest member
rashmi16

Latest Threads

Top