diff --git a/src/dom/dom.h b/src/dom/dom.h
index c1d9428d0e3a1bcce35face32ef571178722dba5..21ea446696523ed3f72c92facf5a3fbce65aa801 100644 (file)
--- a/src/dom/dom.h
+++ b/src/dom/dom.h
* Then below, select one of the corresponding typedefs.
*/
+#ifdef DOM_STANDALONE
+#include <string>
+#else
#include <glibmm.h>
-//#include <string>
+#endif
//# Unfortunate hack for a name collision
#ifdef SEVERITY_ERROR
/**
* This is the org::w3c::dom::DOMString definition.
* Which type do we want?
- */
+ */
+#ifdef DOM_STANDALONE
+typedef std::string DOMString;
+typedef unsigned short XMLCh;
+#else
typedef Glib::ustring DOMString;
typedef gunichar XMLCh;
-
-//typedef std::string DOMString;
-//typedef unsigned short XMLCh;
-
+#endif
/**
* At least 64 bit time stamp value.