src/ldt/ldt/utils/xml.py
author verrierj
Wed, 18 Jan 2012 16:29:02 +0100
changeset 415 4236f99104ba
parent 13 97ab7b3191cf
permissions -rw-r--r--
Annotation-types title are found in search API

def getText(anode):
	nodelist = anode.childNodes
	rc = ""
	for node in nodelist:
		if node.nodeType == node.TEXT_NODE:
			rc = rc + node.data
	return rc