rem: return tp->value;
add: { if (flag == 2 && (soap->mode & SOAP_XML_STRICT)) soap->error = SOAP_PROHIBITED; else return tp->value; } else if (flag == 1 && (soap->mode & SOAP_XML_STRICT)) soap->error = SOAP_REQUIRED;
context: soap_attr_value(struct soap *soap, const char *name){ register struct soap_attribute *tp = soap_attr(soap, name);  if (tp && tp->visible == 2)    return tp->value;  return NULL;}