web/ldt/utils/xml.py
author samuel huron <admin@cybunk.com>
Thu, 17 Jun 2010 15:04:36 +0200
changeset 54 24397932219d
parent 0 ecdfc63274bf
permissions -rw-r--r--
Merge test

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