def parseXML(self, x):

        x = x.replace("\n", "\r\n")

        # Parse the XML data
        p = PropFindParser()
        p.parse(XML(x))
        return p