Home | History | Annotate | Download | only in libxml2

Lines Matching defs:doc

55     xmlDocPtr doc;
635 tmp = xmlSearchNs(cur->doc, cur, ns->prefix);
765 ns = xmlSearchNs(cur->doc, cur, prefix);
785 ns = xmlSearchNs(cur->doc, cur, NULL);
965 value = xmlNodeListGetString(ctx->doc, attr->children, 1);
1028 res = xmlNodeListGetString(ctx->doc, xml_base_attr->children, 1);
1040 tmp_str = xmlNodeListGetString(ctx->doc, attr->children, 1);
1759 * @doc: the XML document for canonization
1779 xmlC14NNewCtx(xmlDocPtr doc,
1786 if ((doc == NULL) || (buf == NULL)) {
1795 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1803 if (doc->charset != XML_CHAR_ENCODING_UTF8) {
1804 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1822 ctx->doc = doc;
1832 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_CREATE_STACK,
1851 * @doc: the XML document for canonization
1873 xmlC14NExecute(xmlDocPtr doc, xmlC14NIsVisibleCallback is_visible_callback,
1881 if ((buf == NULL) || (doc == NULL)) {
1903 xmlC14NErr(NULL, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1908 ctx = xmlC14NNewCtx(doc, is_visible_callback, user_data,
1912 xmlC14NErr(NULL, (xmlNodePtr) doc, XML_C14N_CREATE_CTXT,
1927 if (doc->children != NULL) {
1928 ret = xmlC14NProcessNodeList(ctx, doc->children);
1955 * @doc: the XML document for canonization
1975 xmlC14NDocSaveTo(xmlDocPtr doc, xmlNodeSetPtr nodes,
1978 return(xmlC14NExecute(doc,
1990 * @doc: the XML document for canonization
2010 xmlC14NDocDumpMemory(xmlDocPtr doc, xmlNodeSetPtr nodes,
2018 xmlC14NErrParam("dumping doc to memory");
2036 ret = xmlC14NDocSaveTo(doc, nodes, mode, inclusive_ns_prefixes,
2039 xmlC14NErrInternal("saving doc to output buffer");
2059 * @doc: the XML document for canonization
2081 xmlC14NDocSave(xmlDocPtr doc, xmlNodeSetPtr nodes,
2089 xmlC14NErrParam("saving doc");
2109 ret = xmlC14NDocSaveTo(doc, nodes, mode, inclusive_ns_prefixes,