web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Tue, 08 Jun 2010 15:44:35 +0200
changeset 5 ae8593287883
parent 0 ecdfc63274bf
permissions -rw-r--r--
correct error changing ldt.ldt to ldt.ldt_utils

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