Code: Alles auswählen
def find(nodeList):
for subnode in nodeList:
if subnode.nodeType == subnode.ELEMENT_NODE and
subnode.firstChild.nodeType == node.firstChild.TEXT_NODE and
subnode.firstChild.data != "":
print "So einen gefunden: " + subnode.tagName + subnode.firstChild.data
find(subnode.childNodes)

Edit (Leonidas): Code in Python Tags gesetzt (Auch wenn es einen Syntax Error gibt, wie BlackJack feststellt).