Get all text inside a tag in lxml

Just use the node.itertext() method, as in:

 ''.join(node.itertext())

Leave a Comment