document as child in DOM ??

Juliano Freitas jubafre at
Tue Nov 2 17:42:48 CET 2004

I have a document as a string:

xmltext = """<?xml version='1.0'?>

then i transform the string into a document with fromString method.

i want tu put this "xmltext" as a child to another document called
how can i do this??


i tryed the importNode and appendNode, but i dont if i'm doing right!

Juliano Freitas

More information about the Python-list mailing list