To prevent problems with embedded characters, surround your content with CDATA sections. A CDATA section starts with: You can embed any combination of tags, special characters, and text in a CDATA section, and your XML processor will treat it as text. One rare exception is when you want to embed a CDATA close (]]>) within a CDATA section. In this case, use ]]>.