PDA

View Full Version : CDATA Alternatives



icu222much
04 Dec 2011, 11:37 AM
I am trying to pass some HTML code though XML but the browser is ignoring the HTML tags as oppose to turning them into HTML tags. In the example below, I want to create a link to Google with CData, but the browser outputs "<a href="http://www.google.ca/">Google</a>" as oppose to creating a link to Google.


<![CDATA[<a href="http://www.google.ca/">Google</a>]]>