Lines Matching defs:newtag
1097 * @newtag: The new tag name
1107 htmlCheckAutoClose(const xmlChar * newtag, const xmlChar * oldtag)
1120 if (xmlStrEqual(BAD_CAST * closed, newtag))
1138 * @newtag: The new tag name
1144 htmlAutoCloseOnClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1149 priority = htmlGetEndPriority(newtag);
1153 if (xmlStrEqual(newtag, ctxt->nameTab[i]))
1167 while (!xmlStrEqual(newtag, ctxt->name)) {
1172 newtag, ctxt->name);
1203 * @newtag: The new tag name or NULL
1209 * If newtag is NULL this mean we are at the end of the resource
1213 htmlAutoClose(htmlParserCtxtPtr ctxt, const xmlChar * newtag)
1215 while ((newtag != NULL) && (ctxt->name != NULL) &&
1216 (htmlCheckAutoClose(newtag, ctxt->name))) {
1221 if (newtag == NULL) {
1225 while ((newtag == NULL) && (ctxt->name != NULL) &&
1290 * @newtag: The new tag name
1297 htmlCheckImplied(htmlParserCtxtPtr ctxt, const xmlChar *newtag) {
1300 if (xmlStrEqual(newtag, BAD_CAST"html"))
1307 if ((xmlStrEqual(newtag, BAD_CAST"body")) || (xmlStrEqual(newtag, BAD_CAST"head")))
1310 ((xmlStrEqual(newtag, BAD_CAST"script")) ||
1311 (xmlStrEqual(newtag, BAD_CAST"style")) ||
1312 (xmlStrEqual(newtag, BAD_CAST"meta")) ||
1313 (xmlStrEqual(newtag, BAD_CAST"link")) ||
1314 (xmlStrEqual(newtag, BAD_CAST"title")) ||
1315 (xmlStrEqual(newtag, BAD_CAST"base")))) {
1323 } else if ((!xmlStrEqual(newtag, BAD_CAST"noframes")) &&
1324 (!xmlStrEqual(newtag, BAD_CAST"frame")) &&
1325 (!xmlStrEqual(newtag, BAD_CAST"frameset"))) {