

def readString(self, st):
    'Parse a TMS capabilities document, returning an elementtree instance\n\n        string should be an XML capabilities document\n        '
    if (not isinstance(st, str)):
        raise ValueError(('String must be of type string, not %s' % type(self)))
    return etree.fromstring(st)

dataset/ETHPy150Open geopython/OWSLib/owslib/tms.py TMSCapabilitiesReader.readString/VarMisuse@35/99 `st`->`self`