JWS C Library
C language utility library
|
Read, write, and access XML documents. More...
#include <jwsc/config.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <inttypes.h>
#include "jwsc/base/error.h"
#include "jwsc/base/xml.h"
Go to the source code of this file.
Functions | |
void | create_xml_doc (xmlDoc **doc_out) |
Creates an empty xml document. | |
void | free_xml_doc (xmlDoc *doc) |
Frees an xml document. | |
Error * | read_xml_doc (xmlDoc **doc_out, const char *fname) |
Reads an xml document from a file. | |
Error * | read_xml_dtd (xmlDtd **dtd_out, const char *fname) |
Reads an xml dtd from a file. | |
void | free_xml_dtd (xmlDtd *dtd) |
Frees an xml dtd. | |
int | validate_xml_doc (xmlDoc *doc, xmlDtd *dtd) |
Validates an xml document against a dtd. |
Read, write, and access XML documents.
The XML data structures are documented at http://xmlsoft.org/html
Definition in file xml.c.
void create_xml_doc | ( | xmlDoc ** | doc_out | ) |
void free_xml_doc | ( | xmlDoc * | doc | ) |
void free_xml_dtd | ( | xmlDtd * | dtd | ) |