Sami,

samples/XPathWrapper shows an example of using TranscodeToLocalCodePage.

-Matt.



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




Are there any examples out there?

Regards,
Sami

-----Urspr�ngliche Nachricht-----
Von: Matthew Hoyt [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 27. April 2004 16:01
An: [email protected]
Betreff: Re: How come there is no conversion from XalanDOMString to
char*?






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