web/ldt/utils/xml.py
author veltr
Fri, 20 Jul 2012 16:37:23 +0200
changeset 83 f8b1d6f5bb33
parent 0 ecdfc63274bf
permissions -rw-r--r--
Lots of small modifications

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