> I would not do that at all. There are subtle differences between HTML
> and XML, e.g., HTML allows tags that are not explicitly closed with
> . Try a sub-element with the or tag. In general,
> valid HTML is not necessarily valid XML, and vice versa. The bugs
Hmm that is good point. I guess expl
On 4 November 2013 21:07, Amit Sethi wrote:
> I ended up using method=html for writing the xml.
>
> tree.write(filename, encoding="utf-8", xml_declaration=True, method='html')
>
> I am not sure if there are going to be any problems with this but for
> the time being my nosetests seem to be working
I ended up using method=html for writing the xml.
tree.write(filename, encoding="utf-8", xml_declaration=True, method='html')
I am not sure if there are going to be any problems with this but for
the time being my nosetests seem to be working fine
Thanks
Amit
On Mon, Nov 4, 2013 at 8:46 AM, Go