Restores the view's content from XML.
        
        :param      xml | <str>

def restoreXml(self, xml):
        """
        Restores the view's content from XML.
        
        :param      xml | <str>
        """
        xscript = xml.find('script')
        if xscript is not None and xscript.text is not None:
            self._edit.setPlainText(unescape(xscript.text))