working on move, edit mode and add remove service to context menu
[enigma2.git] / lib / python / Tools / XMLTools.py
index aaab467..0551362 100644 (file)
@@ -15,3 +15,11 @@ def elementsWithTag(el, tag):
                        continue
                if tag(x.tagName):
                        yield x
+
+def mergeText(nodelist):
+       rc = ""
+       for node in nodelist:
+               if node.nodeType == node.TEXT_NODE:
+                       rc = rc + node.data
+       return rc
+