web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Thu, 10 Jun 2010 19:19:13 +0200
changeset 22 562c33513553
parent 0 ecdfc63274bf
permissions -rw-r--r--
Merge with f8788d4ddcfd403481f7a33a1a37060666d07493

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