J
Juliano Freitas
I have a document as a string:
xmltext = """<?xml version='1.0'?>
<root>
<parara>text</parara>
</root>"""
then i transform the string into a document with fromString method.
i want tu put this "xmltext" as a child to another document called
"swdb"?
how can i do this??
<swdb>
<root>
<parara>text</parara>
</root>
....
</swdb>
i tryed the importNode and appendNode, but i dont if i'm doing right!
Juliano Freitas
xmltext = """<?xml version='1.0'?>
<root>
<parara>text</parara>
</root>"""
then i transform the string into a document with fromString method.
i want tu put this "xmltext" as a child to another document called
"swdb"?
how can i do this??
<swdb>
<root>
<parara>text</parara>
</root>
....
</swdb>
i tryed the importNode and appendNode, but i dont if i'm doing right!
Juliano Freitas