web/ldt/utils/xml.py
author wakimd
Wed, 22 Dec 2010 12:01:05 +0100
changeset 25 c8dfd7ea87e5
parent 1 3a30d255c235
permissions -rw-r--r--
Corrections on merge

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