Hello,
 
I am using lxml to parse TEI, an XML format for marking up historical documents and things like that. In many cases, I want to get the text content of an element. lxml.html has the method .text_content() for this, which seems to be ideal for this case. Why is it not in lxml.etree? Seems to make sense for a lot of XML formats besides HTML. Would it be possible to add it to the normal Element class?
 
Regards,
Frederik