template_elts
struct template_elts *telts)
struct template_elts template_elts;
(void) memset(&template_elts, 0, sizeof (template_elts));
export_template(exp_pg, &elts, &template_elts);
if (template_elts.common_name != NULL) {
(void) xmlAddChild(elts.template, template_elts.common_name);
(void) xmlAddChild(elts.template, template_elts.description);
(void) xmlAddChild(elts.template, template_elts.documentation);
xmlFreeNode(template_elts.description);
xmlFreeNode(template_elts.documentation);
struct template_elts template_elts;
(void) memset(&template_elts, 0, sizeof (template_elts));
export_template(exp_pg, &elts, &template_elts);
if (template_elts.common_name != NULL) {
(void) xmlAddChild(elts.template, template_elts.common_name);
(void) xmlAddChild(elts.template, template_elts.description);
(void) xmlAddChild(elts.template, template_elts.documentation);
xmlFreeNode(template_elts.description);
xmlFreeNode(template_elts.documentation);