Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

xmldefs.h

Go to the documentation of this file.
00001 /***************************************************************************
00002     xmldefs.h  -  XML-specific definitions.
00003                              -------------------
00004     begin                : June 21 2002
00005     copyright            : (C) 2003 by Vojtìch Toman
00006     email                : vtoman@lit.cz
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00025 #ifndef XMLDEFS_H
00026 #define XMLDEFS_H
00027 
00028 
00029 
00031 //#define PRINT_SAX 1
00032 
00033 
00034 
00035 extern "C"
00036 {
00037 # include <expat.h>
00038 }
00039 
00040 
00041 #include "defs.h"
00042 
00048 #define XmlChar XML_Char
00049 
00053 #define XmlEncoding XML_Encoding
00054 
00060 #define XmlInnerParser XML_Parser
00061 
00062 
00063 
00064 #ifdef XML_UNICODE
00065 //expat internally uses UTF-8
00069 # define DEFAULT_OUTPUT_ENCODING                Encodings::UTF_8
00070 #else
00071 //expat internally uses UTF-16
00075 # define DEFAULT_OUTPUT_ENCODING                Encodings::UTF_16
00076 #endif //XML_UNICODE
00077 
00078 
00079 
00080 
00081 
00083 #define ENT_APOS        "&apos;"
00084 
00086 #define ENT_QUOT        "&quot;"
00087 
00089 #define ENT_AMP         "&amp;"
00090 
00092 #define ENT_LT          "&lt;"
00093 
00095 #define ENT_GT          "&gt;"
00096 
00097 
00098 
00099 #endif //XMLDEFS_H
00100 
00101 
00102 

Generated on Wed Feb 5 10:43:02 2003 for Exalt by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002