web/ldt/utils/xml.py
author veltr
Fri, 04 Oct 2013 15:39:08 +0200
changeset 102 2f1ef2ded30c
parent 0 ecdfc63274bf
permissions -rw-r--r--
Added favorites display and participation count with random data

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