Lines Matching refs:doc
628 xmlDocPtr doc;
632 writer = xmlNewTextWriterDoc(&doc, 0);
863 xmlSaveFileEnc(file, doc, MY_ENCODING);
865 xmlFreeDoc(doc);
879 xmlDocPtr doc;
885 doc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION);
886 if (doc == NULL) {
894 node = xmlNewDocNode(doc, NULL, BAD_CAST "EXAMPLE", NULL);
901 xmlDocSetRootElement(doc, node);
904 writer = xmlNewTextWriterTree(doc, node, 0);
1129 xmlSaveFileEnc(file, doc, MY_ENCODING);
1131 xmlFreeDoc(doc);