• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/libxml2-26/libxml2/

Lines Matching refs:doc

86     xmlDocPtr doc;
429 * @doc: the document
443 xmlBufAttrSerializeTxtContent(buf->buffer, attr->doc,
710 xmlDocPtr doc;
738 if ((dtd->notations != NULL) && ((dtd->doc == NULL) ||
739 (dtd->doc->intSubset == dtd))) {
745 doc = ctxt->doc;
748 ctxt->doc = dtd->doc;
752 ctxt->doc = doc;
787 * @doc: the document
847 xmlDocPtr doc;
851 doc = cur->doc;
852 if (doc != NULL) {
853 oldenc = doc->encoding;
855 doc->encoding = BAD_CAST ctxt->encoding;
856 } else if (doc->encoding != NULL) {
857 encoding = doc->encoding;
861 if ((encoding != NULL) && (doc != NULL))
862 htmlSetMetaEncoding(doc, (const xmlChar *) encoding);
863 if ((encoding == NULL) && (doc != NULL))
864 encoding = htmlGetMetaEncoding(doc);
870 doc->encoding = oldenc;
876 htmlNodeDumpFormatOutput(buf, doc, cur,
879 htmlNodeDumpFormatOutput(buf, doc, cur,
887 if (doc != NULL)
888 doc->encoding = oldenc;
922 if (((cur->type != XML_NAMESPACE_DECL) && (cur->doc != NULL) &&
923 (cur->doc->type == XML_HTML_DOCUMENT_NODE) &&
1409 * @doc: the XHTML document
1443 * @doc: the XHTML document
1600 (cur->parent->parent == (xmlNodePtr) cur->doc) &&
1922 * @doc: a document
1931 xmlSaveDoc(xmlSaveCtxtPtr ctxt, xmlDocPtr doc)
1935 if ((ctxt == NULL) || (doc == NULL)) return(-1);
1936 if (xmlDocContentDumpOutput(ctxt, doc) < 0)
2042 * @doc: the document
2049 xmlBufAttrSerializeTxtContent(xmlBufPtr buf, xmlDocPtr doc,
2100 } else if ((*cur >= 0x80) && ((doc == NULL) ||
2101 (doc->encoding == NULL))) {
2112 if (doc != NULL)
2113 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
2143 if (doc != NULL)
2144 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1");
2171 * @doc: the document
2178 xmlAttrSerializeTxtContent(xmlBufferPtr buf, xmlDocPtr doc,
2188 xmlBufAttrSerializeTxtContent(buffer, doc, attr, string);
2195 * @doc: the document
2209 xmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur, int level,
2220 ret = xmlBufNodeDump(buffer, doc, cur, level, format);
2230 * @doc: the document
2244 xmlBufNodeDump(xmlBufPtr buf, xmlDocPtr doc, xmlNodePtr cur, int level,
2284 xmlNodeDumpOutput(outbuf, doc, cur, level, format, NULL);
2294 * @doc: the document
2300 xmlElemDump(FILE * f, xmlDocPtr doc, xmlNodePtr cur)
2314 if (doc == NULL) {
2316 "xmlElemDump : doc == NULL\n");
2323 if ((doc != NULL) && (doc->type == XML_HTML_DOCUMENT_NODE)) {
2325 htmlNodeDumpOutput(outbuf, doc, cur, NULL);
2330 xmlNodeDumpOutput(outbuf, doc, cur, 0, 1, NULL);
2343 * @doc: the document
2354 xmlNodeDumpOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur,
2371 ctxt.doc = doc;
2380 dtd = xmlGetIntSubset(doc);
2457 ctxt.doc = out_doc;
2576 ctxt.doc = cur;
2626 ctxt.doc = cur;
2666 ctxt.doc = cur;
2721 ctxt.doc = cur;