Is there a library routine for XML data escaping/unescaping?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I am referring to these codes:

Character Escape sequence Notes
< &lt;
& &amp;
> &gt;
' &apos; In attributes only, if you use " as the separator
" &quot; In attributes only, if you use ' as the separator
other &#unicode; Any character not supported in the current encoding

Thanks,
Frank
.