Lines Matching refs:docu
674 * @docu: a document structure
679 xmlRelaxNGFreeDocument(xmlRelaxNGDocumentPtr docu)
681 if (docu == NULL)
684 if (docu->href != NULL)
685 xmlFree(docu->href);
686 if (docu->doc != NULL)
687 xmlFreeDoc(docu->doc);
688 if (docu->schema != NULL)
689 xmlRelaxNGFreeInnerSchema(docu->schema);
690 xmlFree(docu);
695 * @docu: a list of document structure
700 xmlRelaxNGFreeDocumentList(xmlRelaxNGDocumentPtr docu)
704 while (docu != NULL) {
705 next = docu->next;
706 xmlRelaxNGFreeDocument(docu);
707 docu = next;
4730 xmlRelaxNGDocumentPtr docu;
4736 docu = node->psvi;
4737 if (docu != NULL) {
4743 if (docu->content == NULL) {
4747 root = xmlDocGetRootElement(docu->doc);
4781 docu->schema = xmlRelaxNGParseDocument(ctxt, root);
4783 if ((docu->schema != NULL) &&
4784 (docu->schema->topgrammar != NULL)) {
4785 docu->content = docu->schema->topgrammar->start;
4786 if (docu->schema->topgrammar->refs)
4787 xmlRelaxNGParseImportRefs(ctxt, docu->schema->topgrammar);
4797 def->content = docu->content;
7028 xmlRelaxNGDocumentPtr docu;
7097 docu = xmlRelaxNGLoadExternalRef(ctxt, URL, ns);
7098 if (docu == NULL) {
7111 cur->psvi = docu;