Support text attribute values in attribute element