I'm using lxml.etree.XMLParser and would like to distinguish

<tag></tag>

from

<tag/>

I seem to have e.getchildren()==[] and e.text==None for both cases. Is there a 
way to get the first to have e.text==''
--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to