Lines Matching defs:doc
2239 xmlDocPtr doc;
2242 doc = xmlNewDoc((xmlChar *)"1.0");
2243 if (doc != NULL) {
2246 (void) xmlDocSetRootElement(doc, root);
2248 return (doc);
2252 * show_group_xml(doc, group)
2254 * Copy the group info into the XML doc.
2258 show_group_xml(xmlDocPtr doc, sa_group_t group)
2263 root = xmlDocGetRootElement(doc);
2291 xmlDocPtr doc;
2349 doc = show_group_xml_init();
2350 if (doc == NULL)
2364 show_group_xml(doc, group);
2375 show_group_xml(doc, group);
2387 (void) xmlDocFormatDump(stdout, doc, 1);
2388 xmlFreeDoc(doc);