00001 #ifndef CSXMLHelper_H 00002 #define CSXMLHelper_H 00003 00004 #ifdef WIN32 00005 #pragma warning(disable : 4786 ) 00006 #endif 00007 00008 #define USE_TINYXML 1 00009 //#define USE_XALAN 1 00010 00011 #include "CSLog.h" 00012 #include <string> 00013 #include <iostream.h> 00014 00015 00016 const int CSXML_OK = 0; 00017 const int CSXML_ONLY_SINGLE_XML_HELPER_ALLOWED = 1; 00018 const int CSXML_CONTEXT_LOADING_ERROR = 2; 00019 const int CSXML_DOCUMENT_LOADING_ERROR = 3; 00020 const int CSXML_INITIALIZE_ERROR = 4; 00021 const int CSXML_XPATH_ERROR = 5; 00022 00023 #ifdef USE_XALAN 00024 #include "CSXMLHelperXalan.h" 00025 #endif 00026 00027 #ifdef USE_TINYXPATH 00028 #include "CSXMLHelperTinyXPath.h" 00029 #endif 00030 00031 #ifdef USE_TINYXML 00032 #include "CSXMLHelperTinyXML.h" 00033 #endif 00034 00035 #endif CSXMLHelper_H