Home | History | Annotate | Download | only in libxml2

Lines Matching refs:doc

62     xmlDocPtr doc;
74 doc = xmlReadFile(xml_filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
75 if (doc == NULL) {
83 if(xmlDocGetRootElement(doc) == NULL) {
85 xmlFreeDoc(doc);
93 xpath = load_xpath_expr(doc, xpath_filename);
96 xmlFreeDoc(doc);
105 ret = xmlC14NDocDumpMemory(doc,
119 xmlFreeDoc(doc);
127 xmlFreeDoc(doc);
241 xmlDocPtr doc;
253 doc = xmlReadFile(filename, NULL, XML_PARSE_DTDATTR | XML_PARSE_NOENT);
254 if (doc == NULL) {
262 if(xmlDocGetRootElement(doc) == NULL) {
264 xmlFreeDoc(doc);
268 node = doc->children;
275 xmlFreeDoc(doc);
282 xmlFreeDoc(doc);
290 xmlFreeDoc(doc);
303 xmlFreeDoc(doc);
317 xmlFreeDoc(doc);
325 xmlFreeDoc(doc);