'Get mime-type and format by file extension.
This only accepts "xml".'

def getTypeByExtension(self, extension):

    if (extension.lower() != 'xml'):
        raise KnownUnknown(('TileDataOSM    only    makes    .xml    tiles,    not    "%s"' % extension))
    return ('text/xml', 'XML')
