Lines Matching defs:doc
54 xmlDocPtr doc;
66 doc = xmlReadFile(xml_filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
67 if (doc == NULL) {
75 if(xmlDocGetRootElement(doc) == NULL) {
77 xmlFreeDoc(doc);
85 xpath = load_xpath_expr(doc, xpath_filename);
88 xmlFreeDoc(doc);
97 ret = xmlC14NDocDumpMemory(doc,
109 xmlFreeDoc(doc);
117 xmlFreeDoc(doc);
228 xmlDocPtr doc;
240 doc = xmlReadFile(filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
241 if (doc == NULL) {
249 if(xmlDocGetRootElement(doc) == NULL) {
251 xmlFreeDoc(doc);
255 node = doc->children;
262 xmlFreeDoc(doc);
269 xmlFreeDoc(doc);
277 xmlFreeDoc(doc);
290 xmlFreeDoc(doc);
304 xmlFreeDoc(doc);
312 xmlFreeDoc(doc);