web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Tue, 16 Nov 2010 18:19:58 +0100
changeset 11 19bcbf2a2cfa
parent 1 3a30d255c235
permissions -rw-r--r--
Added tag V00.01 for changeset 000f3ca19eaa

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