If you were using a more recent version of Xerces-C, you could use the
TranscodeToStr and TranscodeFromStr classes to both do the transcoding and
manage the allocated memory, and lifetime of the resultant string. The code
above is basically cut and paste from that class.

Thanks John
-- 
View this message in context: 
http://old.nabble.com/Convert-C%2B%2B-string-to-XMLCh*-for-XMLUTF8Transcoder-tp30330507p30341691.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.

Reply via email to