web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Wed, 27 Oct 2010 23:43:15 +0200
changeset 15 397487a6bf90
parent 1 eb9188f2ee4f
permissions -rw-r--r--
new version 00.05

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