summaryrefslogtreecommitdiff
path: root/src/xmlcomposer.h
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-07-29 22:52:30 +0000
committerStef Walter <stef@memberwebs.com>2004-07-29 22:52:30 +0000
commit740d8a6bcb6521e188361befa7f5636c880bf63b (patch)
treef269a5d492d712be73d840fdefeb6ad247ee03db /src/xmlcomposer.h
parent0105af34f6977c51619bf1060e74e3c249932c68 (diff)
- Moved to DOMC
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();