56 #ifndef _xmlutfconversion_cpp
57 #define _xmlutfconversion_cpp
65 #include "exception.h"
77 bool HaveSlash =
false;
81 while (!stream.get(ReadOne).fail() && !stream.eof())
83 OneTag.push_back(ReadOne);
85 if (
'<' == ReadOne && !InText)
90 if (
'"' == ReadOne &&
'\\' != PrevOne )
93 if ( !InText &&
'/' == ReadOne )
119 if(!Doc->
Load(OneTag.c_str()))
122 MEZZ_EXCEPTION(
Exception::PARAMETERS_EXCEPTION,
"Could not Deserialize XML Stream which should contain:" + ClassName +
"\n XML looked Like: " + OneTag +
".");
147 for(
Whole Counter=0; Counter<XMLText.size(); ++Counter)
149 switch(XMLText.at(Counter))
152 Results.append(
""");
155 Results.append(
"&");
158 Results.append(
"<");
161 Results.append(
">");
164 Results.append(1,XMLText.at(Counter));
173 #endif // Include guard