Expand my Community achievements bar.

How can I add ![CDATA[ ]] within certain text fields in XML export?

Avatar

Former Community Member
Hi everyone,<br />I've searched on the web and in the adobe forums and knowledgebase, but I didn't see anything about how i might do this.<br /><br />When we export the form to XML, certain text fields need to be CDATA blocks. Is there a good way to do this?<br /><br />This is an output sample:<br /><br /><formatText><.![CDATA[This text may have special characters.</formatText><br /><br />Thanks in advance for your suggestions!!!<br />Lisa
2 Replies

Avatar

Level 7
Special characters should be exported correctly: CDATA may or may not

be used. Are you seeing an error in the XML? Your program should not

require CDATA.



Aandi Inston

Avatar

Former Community Member
Hi Aandi,



Thanks for your response :).



Unfortunately our application (Authorware) does require CDATA. I do see taht special characters are exported correctly in the Acrobat PDF, but I have to go through and manually insert the CDATA tags now -- a huge pain :).



Do you know if there is anyway to add the tags to the export on fields where needed?



Thanks!

Lisa