'Parse the XML element and return a route object
:rtype:     :class: `EC2Route`'

def _to_route(self, element):

    destination_cidr = findtext(element=element, xpath='destinationCidrBlock', namespace=NAMESPACE)
    gateway_id = findtext(element=element, xpath='gatewayId', namespace=NAMESPACE)
    instance_id = findtext(element=element, xpath='instanceId', namespace=NAMESPACE)
    owner_id = findtext(element=element, xpath='instanceOwnerId', namespace=NAMESPACE)
    interface_id = findtext(element=element, xpath='networkInterfaceId', namespace=NAMESPACE)
    state = findtext(element=element, xpath='state', namespace=NAMESPACE)
    origin = findtext(element=element, xpath='origin', namespace=NAMESPACE)
    vpc_peering_connection_id = findtext(element=element, xpath='vpcPeeringConnectionId', namespace=NAMESPACE)
    return EC2Route(destination_cidr, gateway_id, instance_id, owner_id, interface_id, state, origin, vpc_peering_connection_id)
