src/chxj_chtml50.c
static char *
s_chtml50_start_base_tag(void *pdoc, Node *node) 
{
  Attr        *attr;
  chtml50_t   *chtml50;
  Doc         *doc;
  request_rec *r;

  chtml50 = GET_CHTML50(pdoc);
  doc     = chtml50->doc;
  r       = doc->r;

  W_L("<base");
  /*--------------------------------------------------------------------------*/
  /* Get Attributes                                                           */
  /*--------------------------------------------------------------------------*/
  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('h','H',"href", name)) {
      W_L(" href=\"");
      W_V(value);
      W_L("\"");
    }
  }
  W_L(">");

  return chtml50->out;
}
/**
 * It is a handler who processes the BASE tag.
 *
 * @param pdoc  [i/o] The pointer to the CHTML structure at the output
 *                     destination is specified.
 * @param node   [i]   The BASE tag node is specified.
 * @return The conversion result is returned.
 */
It is a handler who processes the BASE tag.
@param pdoc  [i/o] The pointer to the CHTML structure at the output
destination is specified.
@param node   [i]   The BASE tag node is specified.
@return The conversion result is returned.
It is a handler who processes the BASE tag . @param pdoc [ i / o ] The pointer to the CHTML structure at the output destination is specified . @param node [ i ] The BASE tag node is specified . @return The conversion result is returned .
static char *
s_chtml50_start_base_tag(void *pdoc, Node *node) 
{
  Attr        *attr;
  chtml50_t   *chtml50;
  Doc         *doc;
  request_rec *r;
  chtml50 = GET_CHTML50(pdoc);
  doc     = chtml50->doc;
  r       = doc->r;
  W_L("<base");
  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('h','H',"href", name)) {
      W_L(" href=\"");
      W_V(value);
      W_L("\"");
    }
  }
  W_L(">");
  return chtml50->out;
}
static char * s_chtml50_start_base_tag ( void * pdoc , Node * node ) { Attr * attr ; chtml50_t * chtml50 ; Doc * doc ; request_rec * r ; chtml50 = GET_CHTML50 ( pdoc ) ; doc = chtml50 -> doc ; r = doc -> r ; 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 ) ) { W_L ( " \" " ) ; W_V ( value ) ; W_L ( " \" " ) ; } } W_L ( " " ) ; return chtml50 -> out ; }
It is a handler who processes the BASE tag.
It is a handler who processes the BASE tag .
/*--------------------------------------------------------------------------*/ /* Get Attributes                                                           */ /*--------------------------------------------------------------------------*/