'Delete a zone.
Note: This will delete all the records belonging to this zone.
:param zone: Zone to delete.
:type  zone: :class:`Zone`
:rtype: ``bool``'

def delete_zone(self, zone):

    schema_params = SCHEMA_BUILDER_MAP.get('delete_zone')
    attributes = schema_params.get('attributes')
    schema = api_schema_builder(schema_params.get('urn_nid'), schema_params.get('method'), attributes)
    params = {'apiuser': self.key, 'apikey': self.secret, 'zonename': zone.id}
    urn = schema.getchildren()[0]
    for child in urn:
        key = child.tag.split(':')[2]
        if (key in attributes):
            child.text = str(params.get(key))
    req_data = tostring(schema)
    action = '/services/dns/deleteZone.php?'
    headers = {'SOAPAction': 'urn:deleteZonewsdl#deleteZone'}
    try:
        response = self.connection.request(action=action, data=req_data, method='POST', headers=headers)
    except DurableDNSException:
        e = sys.exc_info()[1]
        if ('Zone    does    not    exist' in e.message):
            raise ZoneDoesNotExistError(zone_id=zone.id, driver=self, value=e.message)
        raise e
    return (response.status in [httplib.OK])
