00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_XML_H_
00028 #define CEYLAN_XML_H_
00029
00030
00031 #include "CeylanException.h"
00032
00033 #include <string>
00034 #include <map>
00035
00036
00037
00038
00039 namespace Ceylan
00040 {
00041
00042
00043
00048 namespace XML
00049 {
00050
00051
00052
00057 class CEYLAN_DLL XMLException : public Ceylan::Exception
00058 {
00059
00060 public:
00061
00062 explicit XMLException( const std::string & reason ) ;
00063 virtual ~XMLException() throw() ;
00064
00065 } ;
00066
00067
00068
00070 typedef std::string MarkupName ;
00071
00072
00074 typedef std::string AttributeName ;
00075
00076
00078 typedef std::string AttributeValue ;
00079
00080
00082 typedef std::map<AttributeName,AttributeValue> AttributeMap ;
00083
00084
00085
00087 const std::string Latin1WithEuroEncoding = "ISO-8859-15" ;
00088
00089
00090
00092 const char LowerThan = '<' ;
00093
00094
00096 const char HigherThan = '>' ;
00097
00098
00100 const char DoubleQuote = '"' ;
00101
00102
00104 const char Equal = '=' ;
00105
00106
00108 const char QuestionMark = '?' ;
00109
00110
00112 const char ExclamationMark = '!' ;
00113
00114
00116 const char Slash = '/' ;
00117
00118
00119
00126 const char EndOfLine = 0x0A ;
00127
00128
00129 }
00130
00131
00132 }
00133
00134
00135
00136 #endif // CEYLAN_XML_H_
00137