Browse Source

minor changes

master
Chris Cromer 3 years ago
parent
commit
812cfcb887
2 changed files with 4 additions and 2 deletions
  1. +4
    -0
      src/makexml.c
  2. +0
    -2
      src/readconfig.c

+ 4
- 0
src/makexml.c 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");


+ 0
- 2
src/readconfig.c 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"

/*

Loading…
Cancel
Save