A better idea for the node name comparsions is to avoid transcoding, and 
use some constant UTF-16 strings instead:

#include "xercesc/util/XMLUni.h"

XERCES_CPP_NAMESPACE_USE

const XMLCh node1[] = {
     chLatin_n,
     chLatin_o,
     chLatin_d,
     chLatin_e,
     chDigit_1,
     chNull
};

Thanks for all,
I have a lot of node to compare so I don't think I will create a const XMLCh
for all the node name, but I will think of it.
Thanks again
-- 
View this message in context: 
http://www.nabble.com/XMLString%3A%3Atranscode-and-XMLString%3A%3Arelease-mechanism-tp20380344p20382910.html
Sent from the Xerces - C - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to