web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Tue, 08 Jun 2010 01:16:35 +0200
changeset 0 ecdfc63274bf
permissions -rw-r--r--
first import

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