changeset 4 | 7c994c98d1df |
parent 3 | 651f67b66c51 |
child 5 | ae8593287883 |
--- a/web/ldt/utils/xml.py Tue Jun 08 15:10:46 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -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