Lines Matching refs:myDoc
386 ctxt->myDoc = xmlNewDoc(BAD_CAST XML_DEFAULT_VERSION);
387 if (ctxt->myDoc == NULL) {
396 xmlFreeDoc(ctxt->myDoc);
403 xmlSetDocCompressMode(ctxt->myDoc, compression);
406 *doc = ctxt->myDoc;
463 ctxt->myDoc = doc;
494 if ((writer->ctxt->myDoc != NULL) && (writer->no_doc_free == 0)) {
495 xmlFreeDoc(writer->ctxt->myDoc);
496 writer->ctxt->myDoc = NULL;
4515 if (ctxt->myDoc == NULL)
4516 ctxt->myDoc = htmlNewDocNoDtD(NULL, NULL);
4517 if (ctxt->myDoc == NULL) {
4535 doc = ctxt->myDoc;
4537 doc = ctxt->myDoc = xmlNewDoc(ctxt->version);
4556 if ((ctxt->myDoc != NULL) && (ctxt->myDoc->URL == NULL) &&
4558 ctxt->myDoc->URL =
4560 if (ctxt->myDoc->URL == NULL)
4561 ctxt->myDoc->URL =