Lines Matching defs:doc

213  *	open the xml file and assign the global xml doc if the xml file
214 * is not opened, set the doc pointer with the opened xml file for
217 * docp - the doc pointer for returning.
249 * close the global xml doc and ignore any changes that has been
529 * parse one isns object from the xml doc.
605 * locate the xml node from xml doc by matching the object UID.
607 * doc - the xml doc.
619 xmlDocPtr doc,
645 *context = xmlXPathNewContext(doc);
778 xmlDocPtr doc;
870 doc = xmlNewDoc(BAD_CAST "1.0");
872 if (doc != NULL &&
878 (void) xmlDocSetRootElement(doc, root);
879 if (xmlSaveFormatFile(xml_file, doc, 1) == -1) {
880 xmlFreeDoc(doc);
883 xmlFreeDoc(doc);
885 if (doc != NULL) {
886 xmlFreeDoc(doc);
927 xmlDocPtr doc = NULL;
935 ec = get_xml_doc(&doc);
936 if (doc == NULL) {
939 node = xmlDocGetRootElement(doc);
976 /* no object available, close the xml doc */
1002 xmlDocPtr doc;
1012 /* get the xml doc */
1013 ec = get_xml_doc(&doc);
1014 if (doc == NULL) {
1029 ec = locate_xml_node(doc, parent_type, puid,
1032 node = xmlDocGetRootElement(doc);
1101 xmlDocPtr doc;
1115 /* get the doc pointer */
1116 ec = get_xml_doc(&doc);
1117 if (doc == NULL) {
1127 ec = locate_xml_node(doc,
1250 xmlDocPtr doc;
1258 /* get the xml doc */
1259 ec = get_xml_doc(&doc);
1260 if (doc == NULL) {
1273 ec = locate_xml_node(doc,
1311 xmlDocPtr doc;
1324 /* get the xml doc */
1325 ec = get_xml_doc(&doc);
1326 if (doc == NULL) {
1343 ec = locate_xml_node(doc, parent_type, puid,
1392 * the xml doc to the written file.
1426 * ignore all of updates in the xml doc.