diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-07-08 16:41:35 +0000 |
| commit | 98c4b5bb004e9297bffa8e1c3572572741fda933 (patch) | |
| tree | fcd68e1dc4f97d0778348ae54e637368a80186ae /lib/python/Tools | |
| parent | db493da3936b21410730a1c299b4c6937d56ca4e (diff) | |
| download | enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.tar.gz enigma2-98c4b5bb004e9297bffa8e1c3572572741fda933.zip | |
- skins are now loaded first and applied later
- this allows use skin information to build special eWidgets, depending on skin
- add "applet"-feature: code which is executed from skin
- example: centering of messagebox
Diffstat (limited to 'lib/python/Tools')
| -rw-r--r-- | lib/python/Tools/XMLTools.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python/Tools/XMLTools.py b/lib/python/Tools/XMLTools.py index aaab4677..05513622 100644 --- 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 + +def mergeText(nodelist): + rc = "" + for node in nodelist: + if node.nodeType == node.TEXT_NODE: + rc = rc + node.data + return rc + |
