web/ldt/utils/xml.py
author samuel huron <admin@cybunk.com>
Thu, 17 Jun 2010 11:19:25 +0200
changeset 52 2b64a9cb528b
parent 0 ecdfc63274bf
permissions -rw-r--r--
fichiers oubliƩs (encore)

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