Lines Matching defs:meta
35 * Getting/Setting encoding meta tags *
66 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
82 if (xmlStrEqual(cur->name, BAD_CAST"meta"))
93 * Search the meta elements
98 if (xmlStrEqual(cur->name, BAD_CAST"meta")) {
163 htmlNodePtr cur, meta;
188 if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0)
204 if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0)
215 meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
216 xmlAddChild(cur, meta);
217 xmlNewProp(meta, BAD_CAST"http-equiv", BAD_CAST"Content-Type");
218 xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
229 meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
230 xmlAddPrevSibling(cur, meta);
231 xmlNewProp(meta, BAD_CAST"http-equiv", BAD_CAST"Content-Type");
232 xmlNewProp(meta, BAD_CAST"content", BAD_CAST newcontent);
236 * Search and destroy all the remaining the meta elements carrying
241 if (xmlStrcasecmp(cur->name, BAD_CAST"meta") == 0) {
268 meta = cur;
270 xmlUnlinkNode(meta);
271 xmlFreeNode(meta);