git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add subservice selection to timer (when linkage services are avail for the selected...
[enigma2.git]
/
lib
/
python
/
Tools
/
XMLTools.py
diff --git
a/lib/python/Tools/XMLTools.py
b/lib/python/Tools/XMLTools.py
index aaab4677f4887dcbaea4ac5f48d12ef2a4053718..05513622d839ef39dd755cfe229b326cd05cb8a9 100644
(file)
--- a/
lib/python/Tools/XMLTools.py
+++ b/
lib/python/Tools/XMLTools.py
@@
-15,3
+15,11
@@
def elementsWithTag(el, tag):
continue
if tag(x.tagName):
yield x
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
+