exemelopy/__init__.py
def to_xml(self):
        """Encodes the stored ``data`` to XML and returns
        an ``lxml.etree`` value.
        """
        if self.data:
            self.document = self._update_document(self.document, self.data)

        return self.document
def to_xml(self):
        """Encodes the stored ``data`` to XML and returns
        an ``lxml.etree`` value.
        """
        if self.data:
            self.document = self._update_document(self.document, self.data)

        return self.document
def to_xml ( self ) : if self . data : self . document = self . _update_document ( self . document , self . data ) return self . document
Encodes the stored ``data`` to XML and returns
        an ``lxml.etree`` value.
Encodes the stored data to XML and returns an lxml . etree value .