Re: minidom appendChild confusion

2005-09-23 Thread Marco
That's it. Thank you very much! Marco -- http://mail.python.org/mailman/listinfo/python-list

Re: minidom appendChild confusion

2005-09-23 Thread Peter Otten
Marco wrote: > Can anyone explain why the following code does not work? > (I'm using python2.4.) > # the following code does _not_ work. > # intended: put child-nodes as children to another node > > from xml.dom.minidom import Document > doc = Document() > node1 = doc.createElement('one') > el1

minidom appendChild confusion

2005-09-23 Thread Marco
Hello! Can anyone explain why the following code does not work? (I'm using python2.4.) Cheers, Marco -- # the following code does _not_ work. # intended: put child-nodes as children to another node from xml.dom.minidom import Document doc = Document() node1 = doc.createElement('one') el1 = d