Lines Matching refs:doc
53 xmlDocPtr doc;
621 tmp = xmlSearchNs(cur->doc, cur, ns->prefix);
751 ns = xmlSearchNs(cur->doc, cur, prefix);
771 ns = xmlSearchNs(cur->doc, cur, NULL);
928 value = xmlNodeListGetString(attr->doc, attr->children, 1);
1455 * @doc: the XML document for canonization
1474 xmlC14NNewCtx(xmlDocPtr doc,
1481 if ((doc == NULL) || (buf == NULL)) {
1490 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1498 if (doc->charset != XML_CHAR_ENCODING_UTF8) {
1499 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1517 ctx->doc = doc;
1527 xmlC14NErr(ctx, (xmlNodePtr) doc, XML_C14N_CREATE_STACK,
1546 * @doc: the XML document for canonization
1569 xmlC14NExecute(xmlDocPtr doc, xmlC14NIsVisibleCallback is_visible_callback,
1576 if ((buf == NULL) || (doc == NULL)) {
1585 xmlC14NErr(NULL, (xmlNodePtr) doc, XML_C14N_REQUIRES_UTF8,
1590 ctx = xmlC14NNewCtx(doc, is_visible_callback, user_data,
1594 xmlC14NErr(NULL, (xmlNodePtr) doc, XML_C14N_CREATE_CTXT,
1609 if (doc->children != NULL) {
1610 ret = xmlC14NProcessNodeList(ctx, doc->children);
1637 * @doc: the XML document for canonization
1658 xmlC14NDocSaveTo(xmlDocPtr doc, xmlNodeSetPtr nodes,
1661 return(xmlC14NExecute(doc,
1673 * @doc: the XML document for canonization
1694 xmlC14NDocDumpMemory(xmlDocPtr doc, xmlNodeSetPtr nodes,
1702 xmlC14NErrParam("dumping doc to memory");
1720 ret = xmlC14NDocSaveTo(doc, nodes, exclusive, inclusive_ns_prefixes,
1723 xmlC14NErrInternal("saving doc to output buffer");
1743 * @doc: the XML document for canonization
1766 xmlC14NDocSave(xmlDocPtr doc, xmlNodeSetPtr nodes,
1774 xmlC14NErrParam("saving doc");
1794 ret = xmlC14NDocSaveTo(doc, nodes, exclusive, inclusive_ns_prefixes,