For completeness you should also make a const version of
strServiceProfile.unicodeForm() rather than calling this method each time.

EJP
2) Secondly as suggested by David I created const objects and used them in
my
code

   const XStr     strServiceProfile("ServiceProfile");

   ...

   for (i=0; i<MAX_NUM_SERVICE_PROFILE_PER_IMPI ; i++){
   ServProElem =   doc->createElement(strServiceProfile.unicodeForm());



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

Reply via email to