XML Literals for Python

Fredrik Lundh proposes an XML Literal syntax for embedding XML directly into Python.

But how do you handle broken XML in the literals?

More like this: , .