bijeshn wrote:
> the extracted files are to be XML too. ijust need to extract it raw
> (tags and data just like it is in the parent XML file..)

Ah, so then replace the "print tostring()" line in my example by

    ET.ElementTree(element).write("outputfile.xml")

and you're done.

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to