00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include <vaucanson/config/system.hh>
00019
00020 #if not defined (VCSN_XML_STRINGS_HH) and \
00021 (not defined (VCSN_SANITY_CHECK) or defined (VCSN_USE_XML))
00022 # define VCSN_XML_STRINGS_HH
00023
00024 # ifndef VCSN_USE_XML
00025 # error Vaucanson XML support is disabled.
00026 # endif
00027
00028 # include <string>
00029
00030 # include <xercesc/util/XMLUniDefs.hpp>
00031 # include <xercesc/util/XMLString.hpp>
00032
00033 namespace vcsn
00034 {
00035
00036 namespace xml
00037 {
00038
00039 std::string
00040 xml2str(const XMLCh*);
00041
00042 }
00043
00044 }
00045
00046 # ifndef VCSN_USE_INTERFACE_ONLY
00047 # include <vaucanson/xml/strings.hxx>
00048 # endif // ! VCSN_USE_INTERFACE_ONLY
00049
00050 #endif // ! VCSN_XML_STRINGS_HH && (! VCSN_SANITY_CHECK || VCSN_USE_XML)