3 * Copyright (C) 2001-2009 Jim Evins <evins@snaught.com>.
5 * This file is part of libglabels.
7 * libglabels is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Lesser General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * libglabels is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public License
18 * along with libglabels. If not, see <http://www.gnu.org/licenses/>.
21 #ifndef __LGL_XML_TEMPLATE_H__
22 #define __LGL_XML_TEMPLATE_H__
25 #include <libxml/tree.h>
31 GList *lgl_xml_template_read_templates_from_file (const gchar *utf8_filename);
33 GList *lgl_xml_template_parse_templates_doc (const xmlDocPtr templates_doc);
35 lglTemplate *lgl_xml_template_parse_template_node (const xmlNodePtr template_node);
38 gint lgl_xml_template_write_templates_to_file (GList *templates,
39 const gchar *utf8_filename);
41 gint lgl_xml_template_write_template_to_file (const lglTemplate *template,
42 const gchar *utf8_filename);
44 void lgl_xml_template_create_template_node (const lglTemplate *template,
50 #endif /* __LGL_XML_TEMPLATE_H__ */
55 * Local Variables: -- emacs
57 * c-basic-offset: 8 -- emacs
58 * tab-width: 8 -- emacs
59 * indent-tabs-mode: nil -- emacs