Re: Python & DOM

2005-05-24 Thread Drazen Gemic
On Mon, 23 May 2005 22:37:09 -0700, [EMAIL PROTECTED] wrote: > textNode = yourDocumentElement.createTextNode("the content") > yourElement.appendChild(textNode) > Thanks, it works, but 'yourDocumentElement' needs to be of type 'document'. The name leads to conclusion that it needs to be a root elem

Re: Python & DOM

2005-05-23 Thread [EMAIL PROTECTED]
textNode = yourDocumentElement.createTextNode("the content") yourElement.appendChild(textNode) /S -- http://mail.python.org/mailman/listinfo/python-list

Python & DOM

2005-05-23 Thread Drazen Gemic
t the fact is that setting that variable does not help. Java DOM API has 'setNodeValue' method. Is there anything corresponding in Python DOM ? DG -- http://mail.python.org/mailman/listinfo/python-list