docs: def get_pretty_xml(self, encoding='unicode'):
          """Returns:
  
          str : Current state of the wrapper as a pretty printed XML string.
  
          """
          return d1_common.xml.reformat_to_pretty_xml(
              xml.etree.ElementTree.tostring(self._root_el, encoding)
          )