web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Sun, 25 Jul 2010 14:17:27 +0200
changeset 63 c7e6149288e4
parent 0 ecdfc63274bf
permissions -rw-r--r--
create version 0.10

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