def htmlines(file): return htmlhash(tostring(htmlprep(file)))
def tostring(self): '''Returns a string version of the PSI map in XML''' from psiutils import tostring return tostring(self._doc)