* @return The character string after it converts it is returned.
*/
char *
-chxj_node_exchange(
+chxj_node_convert(
device_table *spec,
request_rec *r,
void *pdoc,
if (handlers[tagHTML].start_tag_handler)
handlers[tagHTML].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagHTML].end_tag_handler)
handlers[tagHTML].end_tag_handler(pdoc, child);
if (handlers[tagHEAD].start_tag_handler)
handlers[tagHEAD].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagHEAD].end_tag_handler)
handlers[tagHEAD].end_tag_handler(pdoc, child);
if (handlers[tagH1].start_tag_handler)
handlers[tagH1].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH1].end_tag_handler)
handlers[tagH1].end_tag_handler(pdoc, child);
if (handlers[tagH2].start_tag_handler)
handlers[tagH2].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH2].end_tag_handler)
handlers[tagH2].end_tag_handler(pdoc, child);
if (handlers[tagH3].start_tag_handler)
handlers[tagH3].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH3].end_tag_handler)
handlers[tagH3].end_tag_handler(pdoc, child);
if (handlers[tagH4].start_tag_handler)
handlers[tagH4].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH4].end_tag_handler)
handlers[tagH4].end_tag_handler(pdoc, child);
if (handlers[tagH5].start_tag_handler)
handlers[tagH5].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH5].end_tag_handler)
handlers[tagH5].end_tag_handler(pdoc, child);
if (handlers[tagH6].start_tag_handler)
handlers[tagH6].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagH6].end_tag_handler)
handlers[tagH6].end_tag_handler(pdoc, child);
if (handlers[tagP].start_tag_handler)
handlers[tagP].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagP].end_tag_handler)
handlers[tagP].end_tag_handler(pdoc, child);
if (handlers[tagPRE].start_tag_handler)
handlers[tagPRE].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagPRE].end_tag_handler)
handlers[tagPRE].end_tag_handler(pdoc, child);
if (handlers[tagNOBR].start_tag_handler)
handlers[tagNOBR].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagNOBR].end_tag_handler)
handlers[tagNOBR].end_tag_handler(pdoc, child);
if (handlers[tagUL].start_tag_handler)
handlers[tagUL].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagUL].end_tag_handler)
handlers[tagUL].end_tag_handler(pdoc, child);
if (handlers[tagLI].start_tag_handler)
handlers[tagLI].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagLI].end_tag_handler)
handlers[tagLI].end_tag_handler(pdoc, child);
if (handlers[tagLEGEND].start_tag_handler)
handlers[tagLEGEND].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagLEGEND].end_tag_handler)
handlers[tagLEGEND].end_tag_handler(pdoc, child);
if (handlers[tagLABEL].start_tag_handler)
handlers[tagLABEL].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagLABEL].end_tag_handler)
handlers[tagLABEL].end_tag_handler(pdoc, child);
if (handlers[tagOL].start_tag_handler)
handlers[tagOL].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagOL].end_tag_handler)
handlers[tagOL].end_tag_handler(pdoc, child);
if (handlers[tagOPTION].start_tag_handler)
handlers[tagOPTION].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagOPTION].end_tag_handler)
handlers[tagOPTION].end_tag_handler(pdoc, child);
if (handlers[tagMETA].start_tag_handler)
handlers[tagMETA].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagMETA].end_tag_handler)
handlers[tagMETA].end_tag_handler(pdoc, child);
if (handlers[tagB].start_tag_handler)
handlers[tagB].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagB].end_tag_handler)
handlers[tagB].end_tag_handler(pdoc, child);
if (handlers[tagBASE].start_tag_handler)
handlers[tagBASE].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagBASE].end_tag_handler)
handlers[tagBASE].end_tag_handler(pdoc, child);
if (handlers[tagBODY].start_tag_handler)
handlers[tagBODY].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagBODY].end_tag_handler)
handlers[tagBODY].end_tag_handler(pdoc, child);
if (handlers[tagBR].start_tag_handler)
handlers[tagBR].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagBR].end_tag_handler)
handlers[tagBR].end_tag_handler(pdoc, child);
if (handlers[tagA].start_tag_handler)
handlers[tagA].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagA].end_tag_handler)
handlers[tagA].end_tag_handler(pdoc, child);
if (handlers[tagFONT].start_tag_handler)
handlers[tagFONT].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagFONT].end_tag_handler)
handlers[tagFONT].end_tag_handler(pdoc, child);
if (handlers[tagFORM].start_tag_handler)
handlers[tagFORM].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagFORM].end_tag_handler)
handlers[tagFORM].end_tag_handler(pdoc, child);
if (handlers[tagFIELDSET].start_tag_handler)
handlers[tagFIELDSET].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagFIELDSET].end_tag_handler)
handlers[tagFIELDSET].end_tag_handler(pdoc, child);
if (handlers[tagINPUT].start_tag_handler)
handlers[tagINPUT].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagINPUT].end_tag_handler)
handlers[tagINPUT].end_tag_handler(pdoc, child);
if (handlers[tagIMG].start_tag_handler)
handlers[tagIMG].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagIMG].end_tag_handler)
handlers[tagIMG].end_tag_handler(pdoc, child);
if (handlers[tagSELECT].start_tag_handler)
handlers[tagSELECT].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagSELECT].end_tag_handler)
handlers[tagSELECT].end_tag_handler(pdoc, child);
if (strcasecmp(name, "style") == 0) {
if (handlers[tagSTYLE].start_tag_handler)
handlers[tagSTYLE].start_tag_handler(pdoc, child);
-#if 0
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
-#endif
-
if (handlers[tagSTYLE].end_tag_handler)
handlers[tagSTYLE].end_tag_handler(pdoc, child);
}
if (handlers[tagSPAN].start_tag_handler)
handlers[tagSPAN].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagSPAN].end_tag_handler)
handlers[tagSPAN].end_tag_handler(pdoc, child);
if (handlers[tagSMALL].start_tag_handler)
handlers[tagSMALL].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagSMALL].end_tag_handler)
handlers[tagSMALL].end_tag_handler(pdoc, child);
if (handlers[tagDIV].start_tag_handler)
handlers[tagDIV].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagDIV].end_tag_handler)
handlers[tagDIV].end_tag_handler(pdoc, child);
if (handlers[tagCENTER].start_tag_handler)
handlers[tagCENTER].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagCENTER].end_tag_handler)
handlers[tagCENTER].end_tag_handler(pdoc, child);
parse_attr = qs_get_parse_attr(doc, child, r);
if (parse_attr && strcasecmp(parse_attr, "true") == 0) {
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
}
else {
if (handlers[tagCHXJIF].start_tag_handler)
if (handlers[tagTEXTAREA].start_tag_handler)
handlers[tagTEXTAREA].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTEXTAREA].end_tag_handler)
handlers[tagTEXTAREA].end_tag_handler(pdoc, child);
if (handlers[tagTITLE].start_tag_handler)
handlers[tagTITLE].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTITLE].end_tag_handler)
handlers[tagTITLE].end_tag_handler(pdoc, child);
if (handlers[tagTABLE].start_tag_handler)
handlers[tagTABLE].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTABLE].end_tag_handler)
handlers[tagTABLE].end_tag_handler(pdoc, child);
if (handlers[tagTBODY].start_tag_handler)
handlers[tagTBODY].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTBODY].end_tag_handler)
handlers[tagTBODY].end_tag_handler(pdoc, child);
if (handlers[tagTH].start_tag_handler)
handlers[tagTH].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTH].end_tag_handler)
handlers[tagTH].end_tag_handler(pdoc, child);
if (handlers[tagTR].start_tag_handler)
handlers[tagTR].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTR].end_tag_handler)
handlers[tagTR].end_tag_handler(pdoc, child);
if (handlers[tagTD].start_tag_handler)
handlers[tagTD].start_tag_handler(pdoc, child);
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
if (handlers[tagTD].end_tag_handler)
handlers[tagTD].end_tag_handler(pdoc, child);
break;
default:
- chxj_node_exchange(spec, r, pdoc, doc, child, indent+1);
+ chxj_node_convert(spec, r, pdoc, doc, child, indent+1);
}
}