rem: int i; struct soap_plist *pp; int n = a->__size; i = soap_array_pointer_lookup(soap, a, (struct soap_array*)&a->__ptr, n, SOAP_TYPE_xsd__base64Binary, &pp); if (!a->__ptr) {	soap_element_null(soap, tag, i, type); return SOAP_OK; } if (id <= 0 && i) {	if (soap_is_embedded(soap, pp)) {	soap_element_ref(soap, tag, 0, i); return SOAP_OK; } if (soap_is_single(soap, pp)) i = 0; } else if (id > 0) i = id; soap_element_begin_out(soap, tag, i, "xsd:base64Binary"); if (i > 0) soap_set_embedded(soap, pp);
add: id = soap_element_id(soap, tag, id, a, (struct soap_array*)&a->__ptr, 1, type, SOAP_TYPE_xsd__base64Binary); if (id < 0) return soap->error; soap_element_begin_out(soap, tag, id, type);
context: SOAP_FMAC3 int SOAP_FMAC4 soap_out_xsd__base64Binary(struct soap *soap, const char *tag, int id, const xsd__base64Binary *a, const char *type){	int i;	struct soap_plist *pp;	int n = a->__size;	i = soap_array_pointer_lookup(soap, a, (struct soap_array*)&a->__ptr, n, SOAP_TYPE_xsd__base64Binary, &pp);	if (!a->__ptr)	{	soap_element_null(soap, tag, i, type);		return SOAP_OK;	}	if (id <= 0 && i)	{	if (soap_is_embedded(soap, pp))		{	soap_element_ref(soap, tag, 0, i);			return SOAP_OK;		}		if (soap_is_single(soap, pp))			i = 0;	}	else if (id > 0)		i = id;	soap_element_begin_out(soap, tag, i, "xsd:base64Binary");	if (i > 0)		soap_set_embedded(soap, pp);	soap_putbase64(soap, a->__ptr, a->__size);	soap_element_end_out(soap, tag);	return SOAP_OK;}