docs: def save(self, data, xparent=None):
          """
          Parses the element from XML to Python.
          
          :param      data    | <variant>
                      xparent | <xml.etree.ElementTree.Element> || None
          
          :return     <xml.etree.ElementTree.Element>
          """
          if xparent is not None:
              elem = ElementTree.SubElement(xparent, 'dict')
          else:
              elem = ElementTree.Element('dict')
  
          for key, value in sorted(data.items()):
              xitem = ElementTree.SubElement(elem, 'item')
              xitem.set('key', nstr(key))
              XmlDataIO.toXml(value, xitem)
  
          return elem