title: Is there c++ function that replace xml Special Character with their escape sequence?
body: <p>I search the web alot and didn't find c++ function that replace xml Special Character with their escape sequence?
  Is there something like this?</p>
  
  <p>I know about the following:</p>
  
  <pre><code>Special Character   Escape Sequence Purpose  
  &amp;                   &amp;amp;           Ampersand sign 
  '                   &amp;apos;          Single quote 
  "                   &amp;quot;          Double quote
  &gt;                   &amp;gt;            Greater than 
  &lt;                   &amp;lt;            Less than
  </code></pre>
  
  <p>is there more? what about writing hexadecimal value like 0×00,
  Is this also a problem?</p>