static char *s_chtml10_end_option_tag (void *pdoc, Node *node);
static char *s_chtml10_start_div_tag (void *pdoc, Node *node);
static char *s_chtml10_end_div_tag (void *pdoc, Node *node);
+static char *s_chtml10_start_dl_tag (void *pdoc, Node *node);
+static char *s_chtml10_end_dl_tag (void *pdoc, Node *node);
static void s_init_chtml10(chtml10_t *chtml, Doc *doc, request_rec *r, device_table *spec);
NULL,
NULL,
},
+ /* tagDL */
+ {
+ s_chtml10_start_dl_tag,
+ s_chtml10_end_dl_tag,
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
return chtml10->out;
}
+
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml10_start_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml10_t *chtml10;
+ Doc *doc;
+ request_rec *r;
+
+ chtml10 = GET_CHTML10(pdoc);
+ doc = chtml10->doc;
+ r = doc->r;
+
+ chtml10->out = apr_pstrcat(r->pool, chtml10->out, "<dl>", NULL);
+
+ return chtml10->out;
+}
+
+
+/**
+ * It is a handler who processes the DLtag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml10_end_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml10_t *chtml10;
+ Doc *doc;
+ request_rec *r;
+
+ chtml10 = GET_CHTML10(pdoc);
+ doc = chtml10->doc;
+ r = doc->r;
+
+ chtml10->out = apr_pstrcat(r->pool, chtml10->out, "</dl>\n", NULL);
+
+ return chtml10->out;
+}
/*
* vim:ts=2 et
*/
static char *s_chtml20_end_option_tag (void *pdoc, Node *node);
static char *s_chtml20_start_div_tag (void *pdoc, Node *node);
static char *s_chtml20_end_div_tag (void *pdoc, Node *node);
+static char *s_chtml20_start_dl_tag (void *pdoc, Node *node);
+static char *s_chtml20_end_dl_tag (void *pdoc, Node *node);
static void s_init_chtml20(chtml20_t *chtml, Doc *doc, request_rec *r, device_table *spec);
NULL,
NULL,
},
+ /* tagDL */
+ {
+ s_chtml20_start_dl_tag,
+ s_chtml20_end_dl_tag,
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
/**
return chtml20->out;
}
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml20_start_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+
+ chtml20 = GET_CHTML20(pdoc);
+ doc = chtml20->doc;
+ r = doc->r;
+
+ chtml20->out = apr_pstrcat(r->pool, chtml20->out, "<dl>", NULL);
+
+ return chtml20->out;
+}
+
+
+/**
+ * It is a handler who processes the DLtag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml20_end_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml20_t *chtml20;
+ Doc *doc;
+ request_rec *r;
+
+ chtml20 = GET_CHTML20(pdoc);
+ doc = chtml20->doc;
+ r = doc->r;
+
+ chtml20->out = apr_pstrcat(r->pool, chtml20->out, "</dl>\n", NULL);
+
+ return chtml20->out;
+}
/*
* vim:ts=2 et
*/
static char *s_chtml30_end_div_tag (void *pdoc, Node *node);
static char *s_chtml30_chxjif_tag (void *pdoc, Node *node);
static char *s_chtml30_text_tag (void *pdoc, Node *node);
+static char *s_chtml30_start_dl_tag (void *pdoc, Node *node);
+static char *s_chtml30_end_dl_tag (void *pdoc, Node *node);
static void s_init_chtml30(chtml30_t *chtml, Doc *doc, request_rec *r, device_table *spec);
NULL,
NULL,
},
+ /* tagDL */
+ {
+ s_chtml30_start_dl_tag,
+ s_chtml30_end_dl_tag,
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
return chtml30->out;
}
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml30_start_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml30_t *chtml30;
+ Doc *doc;
+ request_rec *r;
+
+ chtml30 = GET_CHTML30(pdoc);
+ doc = chtml30->doc;
+ r = doc->r;
+
+ chtml30->out = apr_pstrcat(r->pool, chtml30->out, "<dl>", NULL);
+
+ return chtml30->out;
+}
+
+
+/**
+ * It is a handler who processes the DLtag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_chtml30_end_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ chtml30_t *chtml30;
+ Doc *doc;
+ request_rec *r;
+
+ chtml30 = GET_CHTML30(pdoc);
+ doc = chtml30->doc;
+ r = doc->r;
+
+ chtml30->out = apr_pstrcat(r->pool, chtml30->out, "</dl>\n", NULL);
+
+ return chtml30->out;
+}
+
/*
* vim:ts=2 et
*/
NULL,
NULL,
},
+ /* tagDL */
+ {
+ NULL, /* not support */
+ NULL, /* not support */
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
/**
static char *s_jhtml_end_b_tag (void *pdoc, Node *node);
static char *s_jhtml_chxjif_tag (void *pdoc, Node *node);
static char *s_jhtml_text_tag (void *pdoc, Node *node);
+static char *s_jhtml_start_dl_tag (void *pdoc, Node *node);
+static char *s_jhtml_end_dl_tag (void *pdoc, Node *node);
static void s_init_jhtml(
jhtml_t *jhtml,
NULL,
NULL,
},
+ /* tagDL */
+ {
+ s_jhtml_start_dl_tag,
+ s_jhtml_end_dl_tag,
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
return jhtml->out;
}
+
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_jhtml_start_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ jhtml_t *jhtml;
+ Doc *doc;
+ request_rec *r;
+
+ jhtml = GET_JHTML(pdoc);
+ doc = jhtml->doc;
+ r = doc->r;
+
+
+ jhtml->out = apr_pstrcat(r->pool, jhtml->out, "<dl>", NULL);
+
+ return jhtml->out;
+}
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the CHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_jhtml_end_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ jhtml_t *jhtml;
+ Doc *doc;
+ request_rec *r;
+
+ jhtml = GET_JHTML(pdoc);
+ doc = jhtml->doc;
+ r = doc->r;
+
+ jhtml->out = apr_pstrcat(r->pool, jhtml->out, "</dl>\n", NULL);
+
+ return jhtml->out;
+}
/*
* vim:ts=2 et
*/
if (handlers[tagDIV].end_tag_handler)
handlers[tagDIV].end_tag_handler(pdoc, child);
}
+ /*----------------------------------------------------------------------*/
+ /* <DL> */
+ /*----------------------------------------------------------------------*/
+ else
+ if (strcasecmp(name, "dl") == 0) {
+ if (handlers[tagDL].start_tag_handler)
+ handlers[tagDL].start_tag_handler(pdoc, child);
+
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
+
+ if (handlers[tagDL].end_tag_handler)
+ handlers[tagDL].end_tag_handler(pdoc, child);
+ }
+ /*----------------------------------------------------------------------*/
+ /* <DT> */
+ /*----------------------------------------------------------------------*/
+ else
+ if (strcasecmp(name, "dt") == 0) {
+ if (handlers[tagDT].start_tag_handler)
+ handlers[tagDT].start_tag_handler(pdoc, child);
+
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
+
+ if (handlers[tagDT].end_tag_handler)
+ handlers[tagDT].end_tag_handler(pdoc, child);
+ }
+ /*----------------------------------------------------------------------*/
+ /* <DD> */
+ /*----------------------------------------------------------------------*/
+ else
+ if (strcasecmp(name, "dd") == 0) {
+ if (handlers[tagDD].start_tag_handler)
+ handlers[tagDD].start_tag_handler(pdoc, child);
+
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
+
+ if (handlers[tagDD].end_tag_handler)
+ handlers[tagDD].end_tag_handler(pdoc, child);
+ }
break;
case 'c':
static char *s_xhtml_1_0_start_b_tag (void *pdoc, Node *node);
static char *s_xhtml_1_0_end_b_tag (void *pdoc, Node *node);
static char *s_xhtml_1_0_chxjif_tag (void *pdoc, Node *node);
+static char *s_xhtml_1_0_start_dl_tag (void *pdoc, Node *node);
+static char *s_xhtml_1_0_end_dl_tag (void *pdoc, Node *node);
static void s_init_xhtml(xhtml_t *xhtml, Doc *doc, request_rec *r, device_table *spec);
static char* s_xhtml_1_0_text_tag(void *pdoc, Node *child);
NULL,
NULL,
},
+ /* tagDL */
+ {
+ s_xhtml_1_0_start_dl_tag,
+ s_xhtml_1_0_end_dl_tag,
+ },
+ /* tagDD */
+ {
+ NULL,
+ NULL,
+ },
};
return xhtml->out;
}
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the XHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_xhtml_1_0_start_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ xhtml_t *xhtml = GET_XHTML(pdoc);
+ Doc *doc = xhtml->doc;
+ request_rec *r = doc->r;
+ xhtml->out = apr_pstrcat(r->pool, xhtml->out, "<dl>", NULL);
+ return xhtml->out;
+}
+
+
+/**
+ * It is a handler who processes the DL tag.
+ *
+ * @param pdoc [i/o] The pointer to the XHTML structure at the output
+ * destination is specified.
+ * @param node [i] The DL tag node is specified.
+ * @return The conversion result is returned.
+ */
+static char *
+s_xhtml_1_0_end_dl_tag(void *pdoc, Node *UNUSED(child))
+{
+ xhtml_t *xhtml = GET_XHTML(pdoc);
+ Doc *doc = xhtml->doc;
+ request_rec *r = doc->r;
+
+ xhtml->out = apr_pstrcat(r->pool, xhtml->out, "</dl>\n", NULL);
+
+ return xhtml->out;
+}
/*
* vim:ts=2 et
*/