Lines Matching defs:doc
41 * @doc: the document
48 htmlGetMetaEncoding(htmlDocPtr doc) {
53 if (doc == NULL)
55 cur = doc->children;
152 * @doc: the document
162 htmlSetMetaEncoding(htmlDocPtr doc, const xmlChar *encoding) {
168 if (doc == NULL)
177 cur = doc->children;
215 meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
229 meta = xmlNewDocNode(doc, NULL, BAD_CAST"meta", NULL);
380 htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
386 * @doc: the document
395 htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
421 htmlNodeDumpFormatOutput(outbuf, doc, cur, NULL, format);
430 * @doc: the document
439 htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) {
442 return(htmlNodeDumpFormat(buf, doc, cur, 1));
448 * @doc: the document
455 * TODO: if encoding == NULL try to save in the doc encoding
460 htmlNodeDumpFileFormat(FILE *out, xmlDocPtr doc,
493 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
502 * @doc: the document
509 htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur) {
510 htmlNodeDumpFileFormat(out, doc, cur, NULL, 1);
620 * @doc: the document
628 htmlDtdDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
630 xmlDtdPtr cur = doc->intSubset;
633 htmlSaveErr(XML_SAVE_NO_DOCTYPE, (xmlNodePtr) doc, NULL);
655 * @doc: the document
662 htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
682 value = xmlNodeListGetString(doc, cur->children, 0);
717 * @doc: the document
724 htmlAttrListDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur, const char *encoding) {
729 htmlAttrDumpOutput(buf, doc, cur, encoding);
739 * @doc: the document
747 htmlNodeListDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
753 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
761 * @doc: the document
769 htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
789 htmlAttrDumpOutput(buf, doc, (xmlAttrPtr) cur, encoding);
801 buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
862 htmlAttrListDumpOutput(buf, doc, cur->properties, encoding);
920 htmlNodeListDumpOutput(buf, doc, cur->children, encoding, format);
950 * @doc: the document
958 htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
960 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, 1);