Lines Matching refs:instance
1592 * @instance: the document instace tree
1593 * @cur: the current node in the instance
1595 * Validate a rule against a tree instance at a given position
1601 xmlSchematronTestPtr test, xmlDocPtr instance, xmlNodePtr cur, xmlSchematronPatternPtr pattern)
1607 ctxt->xctxt->doc = instance;
1656 * @instance: the document instace tree
1658 * Validate a tree instance against the schematron
1664 xmlSchematronValidateDoc(xmlSchematronValidCtxtPtr ctxt, xmlDocPtr instance)
1672 (ctxt->schema->rules == NULL) || (instance == NULL))
1675 root = xmlDocGetRootElement(instance);
1694 xmlSchematronRunTest(ctxt, test, instance, cur, (xmlSchematronPatternPtr)rule->pattern);
1725 xmlSchematronRunTest(ctxt, test, instance, cur, pattern);
1745 xmlDocPtr instance;
1760 instance = xmlReadFile("tst.sct", NULL,
1762 if (instance == NULL) {
1763 fprintf(stderr, "failed to parse instance\n");
1765 if ((schema != NULL) && (instance != NULL)) {
1770 ret = xmlSchematronValidateDoc(vctxt, instance);
1775 xmlFreeDoc(instance);