Coker, Jonathan M wrote:
Sorry - I am still stumbling over some of the terminology.
Inside of one of my functions I call getNodeValue() and it returns a
XalanDOMString. My function is returning an STL string (reference or
pointer). I am trying to convert that XalanDOMString to a C++ STL
strin
-users@xml.apache.org
Subject: RE: Tangled strings
Converting the XalanDOMString to a C++ STL string is what the class I
sent you does, although subject to the limitations that Dave describes
below, i.e. it transcodes to the local code page. The XalanDomCString
class I posted is just a wrapper for
, just use the code in
either the XalanDOMString constructor or the .assign() method wherever
you need to do a conversion.
-will
-Original Message-
From: Coker, Jonathan M [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 05, 2007 9:49 AM
To: xalan-c-users@xml.apache.org
Subject: RE: Tangled
using the static 'transcode' methods in
XMLString and I was trying to find something similar for a Xalan string.
Jonathan
-Original Message-
From: David Bertoni [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 04, 2007 3:55 PM
To: xalan-c-users@xml.apache.org
Subject: Re: Tangl
Coker, Jonathan M wrote:
Hello,
Thanks to David and Will for the help with moving the parser into a
class. I have that working so I am moving on to more involved
development. I am currently stumbling over the extraction of a C++
string from XalanDOMString after a call to XalanNode::getNodeVa
I ran into the same problem. I found some code in the mail list archive
that does the transcoding of the UTF-16 into a vector of chars and then
populates an STL string by iterating through the vector from begin() to
end(). It turns out that code had a bug in it, the iteration through
the vector s