Lines Matching refs:doc
82 xmlDocPtr doc;
423 * @doc: the document
437 xmlAttrSerializeTxtContent(buf->buffer, attr->doc,
522 xmlDocPtr doc;
550 if ((dtd->notations != NULL) && ((dtd->doc == NULL) ||
551 (dtd->doc->intSubset == dtd))) {
556 doc = ctxt->doc;
559 ctxt->doc = dtd->doc;
563 ctxt->doc = doc;
595 * @doc: the document
1112 * @doc: the XHTML document
1146 * @doc: the XHTML document
1291 (cur->parent->parent == (xmlNodePtr) cur->doc) &&
1613 * @doc: a document
1622 xmlSaveDoc(xmlSaveCtxtPtr ctxt, xmlDocPtr doc)
1626 if ((ctxt == NULL) || (doc == NULL)) return(-1);
1627 if (xmlDocContentDumpOutput(ctxt, doc) < 0)
1732 * @doc: the document
1739 xmlAttrSerializeTxtContent(xmlBufferPtr buf, xmlDocPtr doc,
1790 } else if ((*cur >= 0x80) && ((doc == NULL) ||
1791 (doc->encoding == NULL))) {
1802 if (doc != NULL)
1803 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
1833 if (doc != NULL)
1834 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
1861 * @doc: the document
1873 xmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, int level,
1910 xmlNodeDumpOutput(outbuf, doc, cur, level, format, NULL);
1919 * @doc: the document
1925 xmlElemDump(FILE * f, xmlDocPtr doc, xmlNodePtr cur)
1939 if (doc == NULL) {
1941 "xmlElemDump : doc == NULL\n");
1948 if ((doc != NULL) && (doc->type == XML_HTML_DOCUMENT_NODE)) {
1950 htmlNodeDumpOutput(outbuf, doc, cur, NULL);
1955 xmlNodeDumpOutput(outbuf, doc, cur, 0, 1, NULL);
1968 * @doc: the document
1979 xmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
1996 ctxt.doc = doc;
2004 dtd = xmlGetIntSubset(doc);
2081 ctxt.doc = out_doc;
2198 ctxt.doc = cur;
2247 ctxt.doc = cur;
2286 ctxt.doc = cur;
2340 ctxt.doc = cur;