web/ldt/utils/xml.py
author ymh <ymh.work@gmail.com>
Sat, 12 Jun 2010 00:35:35 +0200
changeset 31 2eed941e2ca1
parent 0 ecdfc63274bf
permissions -rw-r--r--
small change in sync script

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