web/ldt/utils/xml.py
changeset 1 eb9188f2ee4f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldt/utils/xml.py	Fri Oct 22 18:14:30 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