src/chxj_xhtml_mobile_1_0.c
/**
 * It is a handler who processes the A tag.
 *
 * @param pdoc  [i/o] The pointer to the XHTML structure at the output
 *                     destination is specified.
 * @param node   [i]   The A tag node is specified.
 * @return The conversion result is returned.
 */
It is a handler who processes the A tag.
@param pdoc  [i/o] The pointer to the XHTML structure at the output
destination is specified.
@param node   [i]   The A tag node is specified.
@return The conversion result is returned.
It is a handler who processes the A tag . @param pdoc [ i / o ] The pointer to the XHTML structure at the output destination is specified . @param node [ i ] The A tag node is specified . @return The conversion result is returned .
static char *
s_xhtml_1_0_start_a_tag(void *pdoc, Node *node) 
{
  xhtml_t       *xhtml = GET_XHTML(pdoc);
  Doc           *doc   = xhtml->doc;
  request_rec   *r     = doc->r;
  Attr          *attr;
  W_L("<a");
  for (attr = qs_get_attr(doc,node);
       attr; 
       attr = qs_get_next_attr(doc,attr)) {
    char* name  = qs_get_attr_name(doc,attr);
    char* value = qs_get_attr_value(doc,attr);
    if (STRCASEEQ('n','N',"name",name) && value && *value) {
      W_L(" id=\"");
      W_V(value);
      W_L("\"");
    }
    else if (STRCASEEQ('h','H',"href", name) && value && *value) {
      value = chxj_encoding_parameter(r, value);
      W_L(" href=\"");
      W_V(value);
      W_L("\"");
    }
    else if (STRCASEEQ('a','A',"accesskey", name)) {
      W_L(" accesskey=\"");
      W_V(value);
      W_L("\"");
    }
    else if (STRCASEEQ('c','C',"cti",name)) {
    }
    else if (STRCASEEQ('i','I',"ijam", name)) {
    }
    else if (STRCASEEQ('u','U',"utn", name)) {
    }
    else if (STRCASEEQ('t','T',"telbook",name)) {
    }
    else if (STRCASEEQ('k','K',"kana",name)) {
    }
    else if (STRCASEEQ('e','E',"email",name)) {
    }
    else if (STRCASEEQ('i','I',"ista",name)) {
    }
    else if (STRCASEEQ('i','I',"ilet",name)) {
    }
    else if (STRCASEEQ('i','I',"iswf",name)) {
    }
    else if (STRCASEEQ('i','I',"irst",name)) {
    }
  }
  W_L(">");
  return xhtml->out;
}
static char * s_xhtml_1_0_start_a_tag ( void * pdoc , Node * node ) { xhtml_t * xhtml = GET_XHTML ( pdoc ) ; Doc * doc = xhtml -> doc ; request_rec * r = doc -> r ; Attr * attr ; W_L ( " " ) ; for ( attr = qs_get_attr ( doc , node ) ; attr ; attr = qs_get_next_attr ( doc , attr ) ) { char * name = qs_get_attr_name ( doc , attr ) ; char * value = qs_get_attr_value ( doc , attr ) ; if ( STRCASEEQ ( ' ' , ' ' , " " , name ) && value && * value ) { W_L ( " \" " ) ; W_V ( value ) ; W_L ( " \" " ) ; } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) && value && * value ) { value = chxj_encoding_parameter ( r , value ) ; W_L ( " \" " ) ; W_V ( value ) ; W_L ( " \" " ) ; } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { W_L ( " \" " ) ; W_V ( value ) ; W_L ( " \" " ) ; } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } } W_L ( " " ) ; return xhtml -> out ; }
It is a handler who processes the A tag.
It is a handler who processes the A tag .
/*--------------------------------------------------------------------------*/ /* Get Attributes                                                           */ /*--------------------------------------------------------------------------*/ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */