web/ldt/utils/xml.py
author samuel huron <admin@cybunk.com>
Mon, 14 Jun 2010 10:03:42 +0200
changeset 36 0df13ef0a63c
parent 0 ecdfc63274bf
permissions -rw-r--r--
URL ABSOLUE TEST

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