Hi, Here is one approach that might work:
1. Serialize your XML into a memory buffer in UTF-16 encoding ( I think if you specify just "UTF-16" it will have the same endian'ness as the machine on which this is performed, though I am not 100% sure). 2. Get the underlying buffer and cast it to XMLCh*. 3. Call one of the XMLString::trascode functions to convert it to a C-string in current/default encoding. Boris -- Boris Kolpackov, Code Synthesis Tools Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
