diff src/tools/xml_tools.py @ 1791:1359ad0b37c2

reverted patch 3770d13776e8
author Goffi <goffi@goffi.org>
date Wed, 13 Jan 2016 13:11:20 +0100
parents d17772b0fe22
children 17c0364607be
line wrap: on
line diff
--- a/src/tools/xml_tools.py	Wed Jan 13 13:08:31 2016 +0100
+++ b/src/tools/xml_tools.py	Wed Jan 13 13:11:20 2016 +0100
@@ -1355,21 +1355,6 @@
         return self.result.firstChildElement()
 
 
-def decapsulateDomishContent(elt):
-    """Return the inner content of a domish.Element.
-
-    @param elt (domish.Element)
-    @return unicode
-    """
-    result = ''
-    for child in elt.children:
-        try:
-            result += child.toXml()  # child id a domish.Element
-        except AttributeError:
-            result += child  # child is unicode
-    return result
-
-
 # FIXME: this method is duplicated from frontends.tools.xmlui.getText
 def getText(node):
     """Get child text nodes of a domish.Element.