src/chxj_hdml.c
/**
 * It is a handler who processes the HTML tag. 
 *
 * @param pdoc   [i/o] The pointer to the HDML structure at the output
 *                     destination is specified.
 * @param node   [i]   The HTML tag node is specified. 
 * @return The conversion result is returned. 
 */
It is a handler who processes the HTML tag.
@param pdoc   [i/o] The pointer to the HDML structure at the output
destination is specified.
@param node   [i]   The HTML tag node is specified.
@return The conversion result is returned.
It is a handler who processes the HTML tag . @param pdoc [ i / o ] The pointer to the HDML structure at the output destination is specified . @param node [ i ] The HTML tag node is specified . @return The conversion result is returned .
static char *
s_hdml_end_html_tag(void *pdoc, Node *UNUSED(child)) 
{
  hdml_t *hdml = GET_HDML(pdoc);
  s_output_to_hdml_card(hdml, 
                  "<NODISPLAY NAME=D1>\r\n"
                  "<ACTION TYPE=ACCEPT TASK=RETURN VARS=\""
                  );
  if (strlen(hdml->init_vars)) {
    s_output_to_hdml_card(hdml, hdml->init_vars   );
  }
  else {
    s_output_to_hdml_card(hdml, "_chxj_dmy="            );
  }
  s_output_to_hdml_card(hdml,   
                  "\" CLEAR=TRUE>\r\n"
                  "</NODISPLAY>\r\n"
                  );
  s_output_to_hdml_out(hdml, hdml->card );
  s_output_to_hdml_out(hdml, "</HDML>\r\n");
  hdml->hdml_end_flag = 1;
  return hdml->out;
}
static char * s_hdml_end_html_tag ( void * pdoc , Node * UNUSED ( child ) ) { hdml_t * hdml = GET_HDML ( pdoc ) ; s_output_to_hdml_card ( hdml , " \r \n " " \" " ) ; if ( strlen ( hdml -> init_vars ) ) { s_output_to_hdml_card ( hdml , hdml -> init_vars ) ; } else { s_output_to_hdml_card ( hdml , " " ) ; } s_output_to_hdml_card ( hdml , " \" \r \n " " \r \n " ) ; s_output_to_hdml_out ( hdml , hdml -> card ) ; s_output_to_hdml_out ( hdml , " \r \n " ) ; hdml -> hdml_end_flag = 1 ; return hdml -> out ; }
It is a handler who processes the HTML tag.
It is a handler who processes the HTML tag .