'Parse the XML element and return a route table association object
:rtype:     :class: `EC2SubnetAssociation`'

def _to_subnet_association(self, element):

    association_id = findtext(element=element, xpath='routeTableAssociationId', namespace=NAMESPACE)
    route_table_id = findtext(element=element, xpath='routeTableId', namespace=NAMESPACE)
    subnet_id = findtext(element=element, xpath='subnetId', namespace=NAMESPACE)
    main = findtext(element=element, xpath='main', namespace=NAMESPACE)
    main = (True if main else False)
    return EC2SubnetAssociation(association_id, route_table_id, subnet_id, main)
