web/ldt/utils/xml.py
author veltr
Thu, 24 May 2012 19:02:39 +0200
changeset 67 5d1ac260d3ee
parent 0 ecdfc63274bf
permissions -rw-r--r--
Added occurrence dragging and links drawing

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