owslib/feature/common.py
def readString(self, st):
        """Parse a WFS capabilities document, returning an
        instance of WFSCapabilitiesInfoset

        string should be an XML capabilities document
        """
        if not isinstance(st, str) and not isinstance(st, bytes):
            raise ValueError("String must be of type string or bytes, not %s" % type(st))
        return etree.fromstring(st)
def readString(self, st):
        if not isinstance(st, str) and not isinstance(st, bytes):
            raise ValueError("String must be of type string or bytes, not %s" % type(st))
        return etree.fromstring(st)
def readString ( self , st ) : if not isinstance ( st , str ) and not isinstance ( st , bytes ) : raise ValueError ( "String must be of type string or bytes, not %s" % type ( st ) ) return etree . fromstring ( st )
Parse a WFS capabilities document, returning an
        instance of WFSCapabilitiesInfoset

        string should be an XML capabilities document
Parse a WFS capabilities document returning an instance of WFSCapabilitiesInfoset