toolman Posted December 4, 2013 Share Posted December 4, 2013 Hi, I am trying to insert some HTMl into an XML document, but its not working. I am trying to add it in the <your_message> tag. Any ideas how I can do this? <?xml version="1.0" encoding="UTF-8"?> <your_card> <your_message> my message here </your_message> </your_card> Thanks Quote Link to comment Share on other sites More sharing options...
Ch0cu3r Posted December 4, 2013 Share Posted December 4, 2013 (edited) Wrap the html within CDATA sections. <?xml version="1.0" encoding="UTF-8"?> <your_card> <your_message> <![CDATA[ your html here ]]> </your_message> </your_card> Edited December 4, 2013 by Ch0cu3r Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.