summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlcomposer.h')
-rw-r--r--src/xmlcomposer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmlcomposer.h b/src/xmlcomposer.h
index 41aad0e..357cb58 100644
--- a/src/xmlcomposer.h
+++ b/src/xmlcomposer.h
@@ -73,7 +73,7 @@ public:
virtual void controlWord(const string& cw, int flags, int param);
virtual void groupStart();
virtual void groupEnd();
- virtual void charData(wstring data);
+ virtual void charData(const string& data);
// Create an XML element with given name
DOM::Element createElement(const string& name);
@@ -91,7 +91,7 @@ public:
DOM::Element popElement();
// Set attributes on the current XML Element
- void setAttribute(const string& name, const wstring& value, DOM::Element el = DOM::Element());
+ void setAttribute(const string& name, const string& value, DOM::Element el = DOM::Element());
void setAttribute(const string& name, int value, DOM::Element el = DOM::Element());
// The current analyser in use
@@ -152,7 +152,7 @@ protected:
#define END_ANALYSER };
#define DATA_PORTION protected:
#define INITIALIZE virtual void initialize();
- #define CHARDATA virtual void charData(wstring data);
+ #define CHARDATA virtual void charData(const string& data);
#define CONTROLWORD virtual void controlWord(const string& cw, int flags, int param);
#define GROUPSTART virtual void groupStart();
#define GROUPEND virtual void groupEnd();