00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef VCSN_TOOLS_XML_DISPLAY_HXX
00018 # define VCSN_TOOLS_XML_DISPLAY_HXX
00019 
00028 # include <ostream>
00029 # include <string>
00030 
00031 # include <vaucanson/automata/concept/automata_base.hh>
00032 # include <vaucanson/tools/xml_dump.hh>
00033 # include <vaucanson/tools/out_display.hh>
00034 
00035 namespace vcsn {
00036 
00037   namespace tools {
00038 
00039     template <class S, class T>
00040     bool
00041     xml_display(const Element<S, T>& a,
00042                 const std::string& name,
00043                 const bool bg,
00044                 const char *const argv[])
00045     {
00046       return out_display(a.structure(), a.value(),
00047                          a, name, bg, argv,
00048                          xml_dump<Element<S, T> >);
00049     }
00050 
00051   } 
00052 
00053 } 
00054 
00055 #endif // ! VCSN_TOOLS_XML_DISPLAY_HXX