Home | History | Annotate | Download | only in libxml2

Lines Matching full:meta

35  *   		Getting/Setting encoding meta tags			*
43 * Encoding definition lookup in the 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")) {
155 * Sets the current encoding in the Meta tags
157 * the META flag associated.
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);
226 * Create a new Meta element with the right attributes
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);