web/ldt/utils/xml.py
changeset 0 ecdfc63274bf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldt/utils/xml.py	Tue Jun 08 01:16:35 2010 +0200
@@ -0,0 +1,7 @@
+def getText(anode):
+	nodelist = anode.childNodes
+	rc = ""
+	for node in nodelist:
+		if node.nodeType == node.TEXT_NODE:
+			rc = rc + node.data
+	return rc
\ No newline at end of file