Lines Matching refs:doc
2263 xmlDocPtr doc = (xmlDocPtr) cur;
2265 res = doc->URL;
2296 if (!PyArg_ParseTuple(args, (char *) "O:doc", &obj))
2315 res = attr->doc;
2322 res = cur->doc;
2761 xmlDocPtr doc;
2779 doc = (xmlDocPtr) node;
2783 doc = (xmlDocPtr) node;
2788 doc = NULL;
2790 doc = node->doc;
2791 if ((doc == NULL) || (doc->type == XML_DOCUMENT_NODE)) {
2793 } else if (doc->type == XML_HTML_DOCUMENT_NODE) {
2815 xmlSaveDoc(ctxt, doc);
2836 xmlDocPtr doc;
2860 doc = (xmlDocPtr) node;
2862 doc = (xmlDocPtr) node;
2864 doc = node->doc;
2867 if (doc->type == XML_HTML_DOCUMENT_NODE) {
2869 encoding = (const char *) htmlGetMetaEncoding(doc);
2878 if (doc->type == XML_HTML_DOCUMENT_NODE) {
2887 len = xmlSaveFormatFileTo(buf, doc, encoding, format);
2890 htmlDocContentDumpFormatOutput(buf, doc, encoding, format);
2892 } else if (doc->type == XML_HTML_DOCUMENT_NODE) {
2893 htmlNodeDumpFormatOutput(buf, doc, node, encoding, format);
2897 xmlNodeDumpOutput(buf, doc, node, 0, format, encoding);
3437 xmlDocPtr doc;
3452 doc = (xmlDocPtr) PyxmlNode_Get(pyobj_doc);
3453 if (!doc) {
3472 result = xmlC14NDocDumpMemory(doc,
3513 xmlDocPtr doc;
3531 doc = (xmlDocPtr) PyxmlNode_Get(pyobj_doc);
3532 if (!doc) {
3562 result = xmlC14NDocSaveTo(doc,
3654 {(char *) "doc", libxml_doc, METH_VARARGS, NULL},