web/ldt/utils/xml.py
author samuel huron <admin@cybunk.com>
Mon, 14 Jun 2010 09:54:49 +0200
changeset 35 6e5ffd90610c
parent 0 ecdfc63274bf
permissions -rw-r--r--
Update JS form json parsing

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