Hi Steve,
There's a transcode() member function on XalanDOMString that will transcode to a vector of characters. You can then copy those characters into a std:string. You can also look at the various TranscodeToLocalCodePage() function in XalanDOMString.hpp.
We don't have a transcoding routine for std::string, because we support platforms that don't have a std::string implementation.
Dave
"Oliver, Steve" <[EMAIL PROTECTED]>
01/10/2003 11:13 AM | To: "Xalan Dev" <[email protected]> cc: (bcc: David N Bertoni/Cambridge/IBM) Subject: XalanDOMString to std::string |
All,
I'm probably missing something very simple but I can't seem to get a XalanDOMString converted to a std::string. I'm using Xalan C++ in a Windows environment. My XML uses UTF-8 encoding.
Thanks,
Steve

