SAX: Short tag's ...

Thomas Lehmann t.lehmann at
Mon Oct 5 16:23:54 CEST 2009


Is there a way to recognize short tags in a XML?
I'm implementing a SAX handler...

Problem: storing the XML code I would need this information
in the startElement ...

How can I handle this?

<element id="abc" />
<element id="xyz" >any text</element>

More information about the Python-list mailing list