web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Thu, 28 Oct 2010 00:36:54 +0200
changeset 18 b9c2a90029e7
parent 1 eb9188f2ee4f
permissions -rw-r--r--
new version 00.06

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