You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Henna Ilvonen <he...@intellitel.com> on 2002/01/11 10:03:37 UTC
Transcoding XMLCh* to normal string.
Hi,
I'm trying to use IDOM instead of DOM and make my existing program use
it. Only problem seems to be transcoding XMLCh*-format variables to normal
strings and back. Does anybody have solution? Thanks again,
Henna
------------------------------------------
Henna Ilvonen - Software Engineer
Intellitel Communications Ltd.
henna.ilvonen@intellitel.com
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
RE: Transcoding XMLCh* to normal string.
Posted by Mark Weaver <ma...@npsl.co.uk>.
Make a DOMString out of it and use DOMString::transcode:
XMLCh* xmlstr; //...
char* str = DOMString(xmlstr).transcode();
> -----Original Message-----
> From: Henna Ilvonen [mailto:henna.ilvonen@intellitel.com]
> Sent: 11 January 2002 09:04
> To: xerces-c-dev@xml.apache.org
> Subject: Transcoding XMLCh* to normal string.
>
>
> Hi,
> I'm trying to use IDOM instead of DOM and make my existing program use
> it. Only problem seems to be transcoding XMLCh*-format variables to normal
> strings and back. Does anybody have solution? Thanks again,
>
> Henna
>
> ------------------------------------------
> Henna Ilvonen - Software Engineer
> Intellitel Communications Ltd.
> henna.ilvonen@intellitel.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org