www.webdeveloper.com
Results 1 to 2 of 2

Thread: CDATA Alternatives

  1. #1
    Join Date
    Jul 2011
    Posts
    8

    CDATA Alternatives

    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.

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

  2. #2
    Join Date
    Dec 2011
    Posts
    1
    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.

    http://www.webdeveloper.com/forum/sh...d.php?t=254203

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles