18 #ifndef VCSN_XML_TOOLS_HH
19 # define VCSN_XML_TOOLS_HH
33 # include <xercesc/sax2/Attributes.hpp>
34 # include <xercesc/util/XMLString.hpp>
35 # include <xercesc/dom/DOM.hpp>
47 has_attribute (
const xercesc::Attributes& attrs,
49 const XMLCh*
const uri = 0);
52 has_attribute (
const xercesc::Attributes& attrs,
54 const XMLCh*
const uri = 0);
57 get_attribute (
const xercesc::Attributes& attrs,
59 const XMLCh* uri = 0);
62 get_attribute (
const xercesc::Attributes& attrs,
64 const XMLCh* uri = 0);
70 set_attribute (xercesc::DOMElement* e,
71 const std::string& k,
const std::string& v);
76 create_element(xercesc::DOMDocument* doc,
77 const std::string& e);
82 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
83 # include <vaucanson/xml/tools.hxx>
84 # endif // VCSN_USE_INTERFACE_ONLY || !VCSN_USE_LIB
86 #endif // !VCSN_XML_TOOLS_HH