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);
375 htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
381 * @doc: the document
390 htmlNodeDumpFormat(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
416 htmlNodeDumpFormatOutput(outbuf, doc, cur, NULL, format);
425 * @doc: the document
434 htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur) {
437 return(htmlNodeDumpFormat(buf, doc, cur, 1));
443 * @doc: the document
450 * TODO: if encoding == NULL try to save in the doc encoding
455 htmlNodeDumpFileFormat(FILE *out, xmlDocPtr doc,
488 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
497 * @doc: the document
504 htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur) {
505 htmlNodeDumpFileFormat(out, doc, cur, NULL, 1);
615 * @doc: the document
623 htmlDtdDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
625 xmlDtdPtr cur = doc->intSubset;
628 htmlSaveErr(XML_SAVE_NO_DOCTYPE, (xmlNodePtr) doc, NULL);
650 * @doc: the document
657 htmlAttrDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur,
677 value = xmlNodeListGetString(doc, cur->children, 0);
712 * @doc: the document
719 htmlAttrListDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlAttrPtr cur, const char *encoding) {
724 htmlAttrDumpOutput(buf, doc, cur, encoding);
734 * @doc: the document
742 htmlNodeListDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
748 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, format);
756 * @doc: the document
764 htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
792 buffer = xmlEncodeEntitiesReentrant(doc, cur->content);
853 htmlAttrListDumpOutput(buf, doc, cur->properties, encoding);
911 htmlNodeListDumpOutput(buf, doc, cur->children, encoding, format);
941 * @doc: the document
949 htmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc,
951 htmlNodeDumpFormatOutput(buf, doc, cur, encoding, 1);