minor changes
This commit is contained in:
parent
5d98df3707
commit
812cfcb887
@ -5,6 +5,7 @@
|
|||||||
#include <libxml/tree.h>
|
#include <libxml/tree.h>
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
|
|
||||||
int makexml() {
|
int makexml() {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
int j = 0;
|
int j = 0;
|
||||||
@ -25,6 +26,9 @@ int makexml() {
|
|||||||
bibletag = xmlNewNode(NULL, BAD_CAST "Biblia");
|
bibletag = xmlNewNode(NULL, BAD_CAST "Biblia");
|
||||||
xmlDocSetRootElement(doc, bibletag);
|
xmlDocSetRootElement(doc, bibletag);
|
||||||
|
|
||||||
|
/* add attribute to bible tag */
|
||||||
|
xmlNewProp(bibletag, BAD_CAST "nombre", BAD_CAST config->bible);
|
||||||
|
|
||||||
/* add dtd */
|
/* add dtd */
|
||||||
xmlCreateIntSubset(doc, BAD_CAST "Biblia", NULL, BAD_CAST "generarxml.dtd");
|
xmlCreateIntSubset(doc, BAD_CAST "Biblia", NULL, BAD_CAST "generarxml.dtd");
|
||||||
|
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <libxml/parser.h>
|
#include <libxml/parser.h>
|
||||||
#include <libxml/tree.h>
|
#include <libxml/tree.h>
|
||||||
#include <libxml/xmlIO.h>
|
|
||||||
#include <libxml/xinclude.h>
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user