Updated to using ems and CDATA.