Lines Matching refs:myDoc
390 ctxt->myDoc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION);
391 if (ctxt->myDoc == NULL) {
400 xmlFreeDoc(ctxt->myDoc);
407 xmlSetDocCompressMode(ctxt->myDoc, compression);
410 *doc = ctxt->myDoc;
467 ctxt->myDoc = doc;
498 if ((writer->ctxt->myDoc != NULL) && (writer->no_doc_free == 0)) {
499 xmlFreeDoc(writer->ctxt->myDoc);
500 writer->ctxt->myDoc = NULL;
4521 if (ctxt->myDoc == NULL)
4522 ctxt->myDoc = htmlNewDocNoDtD(NULL, NULL);
4523 if (ctxt->myDoc == NULL) {
4541 doc = ctxt->myDoc;
4543 doc = ctxt->myDoc = xmlNewDoc(ctxt->version);
4562 if ((ctxt->myDoc != NULL) && (ctxt->myDoc->URL == NULL) &&
4564 ctxt->myDoc->URL =
4566 if (ctxt->myDoc->URL == NULL)
4567 ctxt->myDoc->URL =