Python & DOM

Drazen Gemic here at there.net
Mon May 23 18:13:59 EDT 2005


Hi !

I need to create a XML document using DOM. How do I set the element value,
after creating it with 'createElement' ? Documentation states that there
is a 'read-only' 'nodeValue' variable. I don't know what means 'read-only
variable' in Python, but the fact is that setting that variable does not
help.

Java DOM API has 'setNodeValue' method. Is there anything corresponding in
Python DOM ?

DG




More information about the Python-list mailing list