

def getServiceXML(self):
    xml = None
    if (self._capabilities is not None):
        xml = etree.tostring(self._capabilities)
    return self

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py TileMapService.getServiceXML/VarMisuse@39/45 `xml`->`self`