Lines Matching defs:doc
219 * open the xml file and assign the global xml doc if the xml file
220 * is not opened, set the doc pointer with the opened xml file for
223 * docp - the doc pointer for returning.
255 * close the global xml doc and ignore any changes that has been
535 * parse one isns object from the xml doc.
611 * locate the xml node from xml doc by matching the object UID.
613 * doc - the xml doc.
625 xmlDocPtr doc,
651 *context = xmlXPathNewContext(doc);
784 xmlDocPtr doc;
876 doc = xmlNewDoc(BAD_CAST "1.0");
878 if (doc != NULL &&
884 (void) xmlDocSetRootElement(doc, root);
885 if (xmlSaveFormatFile(xml_file, doc, 1) == -1) {
886 xmlFreeDoc(doc);
889 xmlFreeDoc(doc);
891 if (doc != NULL) {
892 xmlFreeDoc(doc);
933 xmlDocPtr doc = NULL;
941 ec = get_xml_doc(&doc);
942 if (doc == NULL) {
945 node = xmlDocGetRootElement(doc);
982 /* no object available, close the xml doc */
1008 xmlDocPtr doc;
1018 /* get the xml doc */
1019 ec = get_xml_doc(&doc);
1020 if (doc == NULL) {
1035 ec = locate_xml_node(doc, parent_type, puid,
1038 node = xmlDocGetRootElement(doc);
1107 xmlDocPtr doc;
1121 /* get the doc pointer */
1122 ec = get_xml_doc(&doc);
1123 if (doc == NULL) {
1133 ec = locate_xml_node(doc,
1256 xmlDocPtr doc;
1264 /* get the xml doc */
1265 ec = get_xml_doc(&doc);
1266 if (doc == NULL) {
1279 ec = locate_xml_node(doc,
1317 xmlDocPtr doc;
1330 /* get the xml doc */
1331 ec = get_xml_doc(&doc);
1332 if (doc == NULL) {
1349 ec = locate_xml_node(doc, parent_type, puid,
1398 * the xml doc to the written file.
1432 * ignore all of updates in the xml doc.