XalanDOMString are made of XalanDOMChars.  XalanDOMChar is defined as a
wide char (in xalanc/Include/PlatformDefinitions.hpp) for UTF-16 encoding.

Look at XalanDOMString::transcode method and the TranscodeToLocalCodePage
function to convert a XalanDOMString to a CharVectorType.

-Matt.



                                                                           
             "Sami Islam"                                                  
             <[EMAIL PROTECTED]                                             
             e.de>                                                      To 
                                       "Xalan User List"                   
             04/27/2004 03:16          <[email protected]>,     
             AM                        "Xalan Dev List"                    
                                       <[email protected]>          
                                                                        cc 
             Please respond to                                             
               xalan-c-users                                       Subject 
                                       How come there is no conversion     
                                       from XalanDOMString to char*?       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Hello,
I would like to print out the result of a Xpath evaluation.
I see that I have to convert the XalanDOMString to CharVectorType first and
then iterate and print out single characters. Why isn't there a
XalanDOMString member that returns a char*?


Regards,


Sami Islam
Software Entwickler
DeTeWe Informationssysteme + Consulting GmbH
Abteilung Healthcare
--
Lilienthalstrasse 5
D-30916 Isernhagen
Telefon: +49 (0)511/368499-843
Telefax: +49 (0)511/368499-88
E-mail:  [EMAIL PROTECTED]



Reply via email to