def ToString(self, string_encoding='UTF-8'):
    return ElementTree.tostring(self._ToElementTree(), encoding=string_encoding)
Converts the Atom object to a string containing XML.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/atom/__init__.py/AtomBase.ToString