• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching refs:doc

179     xmlDocPtr doc;
235 xmlRelaxNGDocumentPtr doc; /* Current parsed external ref */
356 xmlDocPtr doc; /* the document being validated */
401 xmlDocPtr doc; /* the associated XML document */
414 xmlDocPtr doc; /* the associated XML document */
684 if (docu->doc != NULL)
685 xmlFreeDoc(docu->doc);
723 if (incl->doc != NULL)
724 xmlFreeDoc(incl->doc);
783 if (schema->doc != NULL)
784 xmlFreeDoc(schema->doc);
810 if (schema->doc != NULL)
811 xmlFreeDoc(schema->doc);
1189 root = xmlDocGetRootElement(ctxt->doc);
1218 ret->node = (xmlNodePtr) ctxt->doc;
1435 xmlDocPtr doc);
1440 * @value: the element doc
1553 if ((inc != NULL) && (inc->doc != NULL) &&
1554 (inc->doc->children != NULL)) {
1557 (inc->doc->children->name, BAD_CAST "grammar")) {
1562 inc->doc->children->
1596 xmlDocPtr doc;
1620 doc = xmlReadFile((const char *) URL,NULL,0);
1621 if (doc == NULL) {
1636 xmlFreeDoc(doc);
1640 ret->doc = doc;
1649 root = xmlDocGetRootElement(doc);
1670 doc = xmlRelaxNGCleanupDoc(ctxt, doc);
1671 if (doc == NULL) {
1687 root = xmlDocGetRootElement(doc);
1854 * @value: the element doc
1856 * Pushes a new doc on top of the doc stack
1887 ctxt->doc = value;
1895 * Pops the top doc from the doc stack
1897 * Returns the doc just removed
1908 ctxt->doc = ctxt->docTab[ctxt->docNr - 1];
1910 ctxt->doc = NULL;
1933 xmlDocPtr doc;
1952 doc = xmlReadFile((const char *) URL,NULL,0);
1953 if (doc == NULL) {
1964 xmlRngPErr(ctxt, (xmlNodePtr) doc, XML_ERR_NO_MEMORY,
1965 "xmlRelaxNG: allocate memory for doc %s\n", URL, NULL);
1966 xmlFreeDoc(doc);
1970 ret->doc = doc;
1979 root = xmlDocGetRootElement(doc);
1995 doc = xmlRelaxNGCleanupDoc(ctxt, doc);
1996 if (doc == NULL) {
1997 ctxt->doc = NULL;
4518 root = xmlDocGetRootElement(incl->doc);
4647 root = xmlDocGetRootElement(docu->doc);
6651 * @doc: a preparsed document tree
6655 * document, the @doc parameter is duplicated internally.
6660 xmlRelaxNGNewDocParserCtxt(xmlDocPtr doc)
6665 if (doc == NULL)
6667 copy = xmlCopyDoc(doc, 1);
6697 if (ctxt->doc != NULL)
6698 xmlRelaxNGFreeDocument(ctxt->doc);
6826 val = xmlNodeListGetString(node->doc, cur->children, 1);
6952 base = xmlNodeGetBase(cur->doc, cur);
6999 base = xmlNodeGetBase(cur->doc, cur);
7059 node = xmlNewDocNode(cur->doc, cur->ns,
7126 ns = xmlSearchNs(cur->doc, cur, prefix);
7303 * @doc: an xmldocPtr document pointer
7311 xmlRelaxNGCleanupDoc(xmlRelaxNGParserCtxtPtr ctxt, xmlDocPtr doc)
7318 root = xmlDocGetRootElement(doc);
7320 xmlRngPErr(ctxt, (xmlNodePtr) doc, XML_RNGP_EMPTY, "xmlRelaxNGParse: %s is empty\n",
7325 return (doc);
7342 xmlDocPtr doc;
7354 doc = xmlReadFile((const char *) ctxt->URL,NULL,0);
7355 if (doc == NULL) {
7362 doc = xmlReadMemory(ctxt->buffer, ctxt->size,NULL,NULL,0);
7363 if (doc == NULL) {
7369 doc->URL = xmlStrdup(BAD_CAST "in_memory_buffer");
7372 doc = ctxt->document;
7378 ctxt->document = doc;
7383 doc = xmlRelaxNGCleanupDoc(ctxt, doc);
7384 if (doc == NULL) {
7393 root = xmlDocGetRootElement(doc);
7395 xmlRngPErr(ctxt, (xmlNodePtr) doc,
7427 xmlFreeDoc(doc);
7451 ret->doc = doc;
7737 if (schema->doc == NULL) {
7739 } else if (schema->doc->URL != NULL) {
7740 fprintf(output, "%s\n", schema->doc->URL);
7767 if (schema->doc == NULL) {
7770 xmlDocDump(output, schema->doc);
8142 * @doc: a document instance
8152 xmlDocPtr doc ATTRIBUTE_UNUSED,
8265 * @doc: a document instance
8274 xmlDocPtr doc ATTRIBUTE_UNUSED,
8313 * @doc: a document instance
8323 xmlDocPtr doc ATTRIBUTE_UNUSED,
8931 value = xmlNodeListGetString(prop->doc, prop->children, 1);
8969 value = xmlNodeListGetString(prop->doc, prop->children, 1);
10541 * @doc: the document
10548 xmlRelaxNGValidateDocument(xmlRelaxNGValidCtxtPtr ctxt, xmlDocPtr doc)
10556 if ((ctxt == NULL) || (ctxt->schema == NULL) || (doc == NULL))
10622 if (xmlValidateDocumentFinal(&vctxt, doc) != 1)
10787 * @doc: a parsed document tree
10795 xmlRelaxNGValidateDoc(xmlRelaxNGValidCtxtPtr ctxt, xmlDocPtr doc)
10799 if ((ctxt == NULL) || (doc == NULL))
10802 ctxt->doc = doc;
10804 ret = xmlRelaxNGValidateDocument(ctxt, doc);