Revision 582963dfbb3c384687517c42396f7e0f4bd75d83 authored by Duncan Temple Lang on 06 October 2003, 00:00:00 UTC, committed by Gabor Csardi on 06 October 2003, 00:00:00 UTC
1 parent 1277ae4
DocParse.h
/*
* See Copyright for the license status of this software.
*/
#ifndef XMLPARSE_H
#define XMLPARSE_H
#include <ctype.h>
#include <stdlib.h>
#include "RSCommon.h"
#include "RS_XML.h"
#ifdef FROM_GNOME_XML_DIR
#include <gnome-xml/parser.h>
#else
#include <libxml/parser.h>
#endif
typedef struct {
int skipBlankLines;
int trim;
USER_OBJECT_ converters;
int addAttributeNamespaces;
} R_XMLSettings;
enum {DOWN, SIDEWAYS};
USER_OBJECT_ RS_XML(ParseTree)(USER_OBJECT_ fileName, USER_OBJECT_ converterFunctions, USER_OBJECT_ skipBlankLines, USER_OBJECT_ replaceEntities, USER_OBJECT_ asText, USER_OBJECT_ trim, USER_OBJECT_
validate, USER_OBJECT_ getDTD, USER_OBJECT_ isURL, USER_OBJECT_ addAttributeNamespaces);
USER_OBJECT_ RS_XML(convertXMLDoc)(char *fileName, xmlDocPtr doc, USER_OBJECT_ converterFunctions, R_XMLSettings *settings);
USER_OBJECT_ RS_XML(createXMLNode)(xmlNodePtr node, int recursive, int direction, R_XMLSettings *settings, USER_OBJECT_ parentUserNode);
USER_OBJECT_ RS_XML(AttributeList)(xmlNodePtr node, R_XMLSettings *settings);
USER_OBJECT_ RS_XML(createNodeChildren)(xmlNodePtr node, int direction, R_XMLSettings *parserSettings);
USER_OBJECT_ RS_XML(lookupGenericNodeConverter)(xmlNodePtr node, USER_OBJECT_ methods, R_XMLSettings *parserSettings);
USER_OBJECT_ RS_XML(createNameSpaceIdentifier)(xmlNs *space, xmlNodePtr node);
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...