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 VCSN_INCLUDE_XML()
00021 # define VCSN_XML_STRINGS_HH
00022
00023 # ifndef VCSN_USE_XML
00024 # error Vaucanson XML support is disabled.
00025 # endif
00026
00027 # include <string>
00028
00029 # include <xercesc/util/XMLUniDefs.hpp>
00030 # include <xercesc/util/XMLString.hpp>
00031
00032 namespace vcsn
00033 {
00034
00035 namespace xml
00036 {
00037
00039 inline
00040 XMLCh* transcode (const char* ccp);
00041
00043 inline
00044 XMLCh* transcode (const std::string& s);
00045
00047 inline
00048 std::string xml2str(const XMLCh*);
00049
00050 }
00051
00052 }
00053
00054 # ifndef VCSN_USE_INTERFACE_ONLY
00055 # include <vaucanson/xml/strings.hxx>
00056 # endif // ! VCSN_USE_INTERFACE_ONLY
00057
00058 #endif // ! VCSN_XML_STRINGS_HH && VCSN_INCLUDE_XML()