Home | History | Annotate | Download | only in libxml2

Lines Matching defs:doc

243     if ((cur == NULL)  || (cur->doc == NULL) || (xpath == NULL))
245 ctxtXPath->doc = cur->doc;
271 if ((cur == NULL) || (cur->doc == NULL) || (xpath == NULL))
273 ctxtXPath->doc = cur->doc;
328 xmlNodeDump(buf, test->doc, test, 0, 0);
368 xmlNodeDump(buf, tst->doc, tst, 0, 0);
374 xmlNodeDump(buf, test->doc, test, 0, 0);
422 xmlDocPtr doc = NULL;
463 xmlNodeDump(buf, test->doc, test, 0, 0);
496 xmlNodeDump(buf, test->doc, test, 0, 0);
503 doc = xmlReadMemory((const char *)buf->content, buf->use,
505 if (doc == NULL) {
516 ret = xmlRelaxNGValidateDoc(ctxt, doc);
527 xmlFreeDoc(doc);
553 xmlNodeDump(buf, test->doc, test, 0, 0);
560 doc = xmlReadMemory((const char *)buf->content, buf->use,
562 if (doc == NULL) {
573 ret = xmlRelaxNGValidateDoc(ctxt, doc);
584 xmlFreeDoc(doc);
614 xmlChar *doc = getString(cur, "string(documentation)");
616 if (doc != NULL) {
617 printf("Suite %s\n", doc);
618 xmlFree(doc);
632 xmlDocPtr doc;
637 doc = xmlReadFile(filename, NULL, XML_PARSE_NOENT);
638 if (doc == NULL) {
644 cur = xmlDocGetRootElement(doc);
663 if (doc != NULL)
664 xmlFreeDoc(doc);
671 xmlChar *doc = getString(cur, "string(documentation)");
673 if (doc != NULL) {
674 printf("Suite %s\n", doc);
675 xmlFree(doc);
677 doc = getString(cur, "string(section)");
678 if (doc != NULL) {
679 printf("Section %s\n", doc);
680 xmlFree(doc);
695 xmlDocPtr doc;
700 doc = xmlReadFile(filename, NULL, XML_PARSE_NOENT);
701 if (doc == NULL) {
707 cur = xmlDocGetRootElement(doc);
726 if (doc != NULL)
727 xmlFreeDoc(doc);
733 xmlDocPtr doc;
738 doc = xmlReadFile(filename, NULL, XML_PARSE_NOENT);
739 if (doc == NULL) {
745 cur = xmlDocGetRootElement(doc);
764 if (doc != NULL)
765 xmlFreeDoc(doc);
782 xmlDocPtr doc = NULL;
819 doc = xmlReadFile((const char *) path, NULL, XML_PARSE_NOENT);
820 if (doc == NULL) {
832 ret = xmlSchemaValidateDoc(ctxt, doc);
863 if (doc != NULL) xmlFreeDoc(doc);
997 xmlDocPtr doc;
1003 doc = xmlReadFile(metadata, NULL, XML_PARSE_NOENT);
1004 if (doc == NULL) {
1009 cur = xmlDocGetRootElement(doc);
1038 xmlFreeDoc(doc);