web/ldt/utils/xml.py
author veltr
Mon, 02 Jul 2012 18:45:22 +0200
changeset 72 a000f6a29dfa
parent 0 ecdfc63274bf
permissions -rw-r--r--
Added production-production linking capabilities

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