On Apr 7, 5:34 pm, Stefan Behnel <[EMAIL PROTECTED]> wrote:
> 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

thanks a lot, Stefan....
i haven't tested out your idea yet.
Will get back as soon as I do it...
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to