Ejemplo n.º 1
0
    def to_dict(self, **kw):
        u"""Converts the lxml object to a dict.

        possible kwargs:
            without_comments: bool
        """
        _, value = helpers.etree_to_dict(self._xml, **kw).popitem()
        return value
Ejemplo n.º 2
0
 def to_dict(self):
     u"""Converts the lxml object to a dict."""
     _, value = helpers.etree_to_dict(self._xml).popitem()
     return value
Ejemplo n.º 3
0
 def to_dict(self):
     u"""Converts the lxml object to a dict."""
     _, value = helpers.etree_to_dict(self._xml).popitem()
     return value