Hi All,

I have one doubt (or better, a problem!)

I heve one xml, like this:

// .

<xNome>A&amp;S ELETRO</xNome>

//..

Then I run a sax parser. I have

class sax_handlers 

   : public HandlerBase

   , private XMLFormatTarget

{

void characters(const XMLCh* const chars,   const XMLSize_t length)

{              

   char* name_char = XMLString::transcode( chars );   

   std::string name = name_char;  

   XMLString::release(&name_char);

// .

}

My problem is that in 'name' I have only 'A'! The '&amp;' not appears on my
variable!

My question is, where is my '&amp;'?

Thanks 

 

Reply via email to