Doubt in xmlDocDumpFormatMemoryEnc

Hi All,
 
I am calling the function xmlDocDumpFormatMemoryEnc() to construct xmlDocPtr
to xmlChar.
When i used this function, the left characters are converted to right
characters. Can you please let me know what is the reason to convert like
this.
 
 
& - &
> - <
< - &gt;
" - &quot
' - &#39;
\r - &#13;
 
Thanks and Regards,
Bharath.
 
****************************************************************************
***********
This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it!
 

Received on Monday, 23 August 2010 12:32:25 UTC