pundog <[EMAIL PROTECTED]> writes:

>
> In my current situation, im dealing with an instance of DOMNode*, i looked
> for a way to maybe convert it to an XMLCh* and then use XMLString::transcode
> on it, but the only way i found to convert the DOMNode to XMLCh is using the
> DOMWriter's "writeToString" function, but the problem is that it allways
> uses UTF-16

Then what's the problem? XMLCh stores data in UTF-16. Pass whatever
writeToString returned to XMLString::transcode and you get the same
data in native encoding.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Reply via email to