'Parse the property list (`.plist`, `.xml, for example) ``xml_input``,
which can be either a string or a file-like object.
>>> parser = XmlPropertyListParser()
>>> parser.parse(r\'<plist version="1.0">\'
...              r\'<dict><key>Python</key><string>.py</string></dict>\'
...              r\'</plist>\')
{\'Python\': \'.py\'}'

def parse(self, xml_input):

    try:
        return self._parse_using_etree(xml_input)
    except ImportError:
        return self._parse_using_sax_parser(xml_input)
