Html encode data

Hi all,
For one of the integrations i’m making using Alumio i have to sent a xml message with its data html encoded;
Currently when serializing to xml i get:

<ITEMDESCRIPTION><![CDATA[black & white]]></ITEMDESCRIPTION>

but i want:

<ITEMDESCRIPTION>black &amp; white</ITEMDESCRIPTION>

Does anyone know to html encode all the lines before serializing the data to xml?

thank you in advanced,
Jesse