src/chxj_hdml.c
/**
 * It is a handler who processes the BODY tag. 
 *
 * @param pdoc   [i/o] The pointer to the HDML structure at the output
 *                     destination is specified.
 * @param node   [i]   The BODY tag node is specified. 
 * @return The conversion result is returned. 
 */
It is a handler who processes the BODY tag.
@param pdoc   [i/o] The pointer to the HDML structure at the output
destination is specified.
@param node   [i]   The BODY tag node is specified.
@return The conversion result is returned.
It is a handler who processes the BODY tag . @param pdoc [ i / o ] The pointer to the HDML structure at the output destination is specified . @param node [ i ] The BODY tag node is specified . @return The conversion result is returned .
static char *
s_hdml_start_body_tag(void *pdoc, Node *node) 
{
  hdml_t      *hdml;
  Doc         *doc;
  Attr        *attr;
  hdml = GET_HDML(pdoc);
  doc  = hdml->doc;
  if (hdml->found_title == 0) {
    s_output_to_hdml_out(hdml, "<DISPLAY NAME=D2 TITLE=\"NO TITLE\">\r\n");
  }
  s_output_to_hdml_out(hdml, "<ACTION TYPE=ACCEPT TASK=NOOP LABEL=\" \"");
  for (attr = qs_get_attr(doc,node); 
    attr; 
    attr = qs_get_next_attr(doc,attr)) {
    char *name  = qs_get_attr_name(doc,attr);
    if (STRCASEEQ('b','B',"bgcolor",name)) {
    }
    else if (STRCASEEQ('t','T',"text",name)) {
    }
    else if (STRCASEEQ('l','L',"link",name)) {
    }
    else if (STRCASEEQ('a','A',"alink",name)) {
    }
    else if (STRCASEEQ('v','V',"vlink",name)) {
    }
  }
  s_output_to_hdml_out(hdml, ">\r\n");
  hdml->hdml_br_flag = 0;
  return hdml->out;
}
static char * s_hdml_start_body_tag ( void * pdoc , Node * node ) { hdml_t * hdml ; Doc * doc ; Attr * attr ; hdml = GET_HDML ( pdoc ) ; doc = hdml -> doc ; if ( hdml -> found_title == 0 ) { s_output_to_hdml_out ( hdml , " \" \" \r \n " ) ; } s_output_to_hdml_out ( hdml , " \" \" " ) ; for ( attr = qs_get_attr ( doc , node ) ; attr ; attr = qs_get_next_attr ( doc , attr ) ) { char * name = qs_get_attr_name ( doc , attr ) ; if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } else if ( STRCASEEQ ( ' ' , ' ' , " " , name ) ) { } } s_output_to_hdml_out ( hdml , " \r \n " ) ; hdml -> hdml_br_flag = 0 ; return hdml -> out ; }
It is a handler who processes the BODY tag.
It is a handler who processes the BODY tag .
/*--------------------------------*/ /* Get Attributes                 */ /*--------------------------------*/ /* ignore */ /* ignore */ /* ignore */ /* ignore */ /* ignore */