swh:1:snp:7d9f1bc35e120776766db9334626062f837c20ad
Tip revision: e5f799606ed2954eebe22a350be3254b5bcac5b2 authored by Duncan Temple Lang on 14 March 2007, 00:00:00 UTC
version 1.5-1
version 1.5-1
Tip revision: e5f7996
RSDTD.h
/*
* See Copyright for the license status of this software.
*/
#ifndef RSDTD_H
#define RSDTD_H
#include "RSCommon.h"
#define RS_XML(a) RS_XML_##a
#ifdef FROM_GNOME_XML_DIR
#include <gnome-xml/valid.h>
#include <gnome-xml/parser.h>
#include <gnome-xml/parserInternals.h>
#include <gnome-xml/tree.h>
#include <gnome-xml/entities.h>
#else
#if 0
/* Problems with xmlValidCtxt in libxml2-2.4.[n] where n >= 21*/
#include <libxml/valid.h>
#endif
#include <libxml/parser.h>
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxml/entities.h>
#endif
USER_OBJECT_ RS_XML(getDTD)(USER_OBJECT_ dtdFileName, USER_OBJECT_ externalId, USER_OBJECT_ asText, USER_OBJECT_ isURL);
USER_OBJECT_ RS_XML(createDTDElement)(xmlElementPtr el);
USER_OBJECT_ RS_XML(createDTDElementContents)(xmlElementContentPtr vals, xmlElementPtr el, int recursive);
USER_OBJECT_ RS_XML(createDTDElementAttributes)(xmlAttributePtr vals, xmlElementPtr el);
USER_OBJECT_ RS_XML(createDTDAttribute)(xmlAttributePtr val, xmlElementPtr el);
USER_OBJECT_ RS_XML(AttributeEnumerationList)(xmlEnumerationPtr list, xmlAttributePtr attr, xmlElementPtr element);
USER_OBJECT_ RS_XML(SequenceContent)(xmlElementContentPtr vals, xmlElementPtr el);
USER_OBJECT_ RS_XML(ProcessElements)(xmlElementTablePtr table, xmlParserCtxtPtr ctxt);
USER_OBJECT_ RS_XML(ProcessEntities)(xmlEntitiesTablePtr table, xmlParserCtxtPtr ctxt);
USER_OBJECT_ RS_XML(createDTDEntity)(xmlEntityPtr entity);
USER_OBJECT_ RS_XML(createDTDParts)(xmlDtdPtr dtd, xmlParserCtxtPtr ctxt);
USER_OBJECT_ RS_XML(ConstructDTDList)(xmlDocPtr myDoc, int processInternals, xmlParserCtxtPtr ctxt);
#endif