def readString(self, st):
if not isinstance(st, str) and not isinstance(st, bytes):<EOL><INDENT>raise ValueError("<STR_LIT>" % type(st))<EOL><DEDENT>raw_text = strip_bom(st)<EOL>return etree.fromstring(raw_text)<EOL>
Parse a WMS capabilities document, returning an elementtree instance.

        string should be an XML capabilities document