minor changes

This commit is contained in:
Chris Cromer 2016-10-21 18:23:59 -03:00
parent 5d98df3707
commit 812cfcb887
2 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@
#include <libxml/tree.h>
#include "main.h"
int makexml() {
int i = 0;
int j = 0;
@ -25,6 +26,9 @@ int makexml() {
bibletag = xmlNewNode(NULL, BAD_CAST "Biblia");
xmlDocSetRootElement(doc, bibletag);
/* add attribute to bible tag */
xmlNewProp(bibletag, BAD_CAST "nombre", BAD_CAST config->bible);
/* add dtd */
xmlCreateIntSubset(doc, BAD_CAST "Biblia", NULL, BAD_CAST "generarxml.dtd");

View File

@ -2,8 +2,6 @@
#include <string.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/xmlIO.h>
#include <libxml/xinclude.h>
#include "main.h"
/*