Thanks for your help! I've gotten to the point where I can add cdata tags to new node elements, but not to existing ones. In my XML now, I want to replace:
<description>xxxyyy</description>
with
<description><![CDATA[xxxyyy]]></description>
I have code that loops through the XML to pull out all the description nodes, but the best I've been able to do is:
<description>xxxyyy<![CDATA[xxxyyy]]></description>
OR
<description>xxxyyy</description>
<![CDATA[xxxyyy]]>
My problem here is that I'm using appendChild and I think I need to use replaceChild. replaceChild gives me errors though, so.....thoughts?