I’m learning to use RSS feeds with XSL stylesheets, and I am having a problem with one thing.
In the RSS feed, there are usually a few data tags. Usually there are “<title>” and “<url>” tags, but I am having problems with the “<content:encoded >” tag.
Inside the “content:encoded” tag, all the descriptions of each news article sit inside a CDATA tag.
I can get the “title” and “url” data to show up, but when I try to get the “content:encoded” data to show, it shows up as html code, instead of actually using that code to format that data.
One example of the output would be:
[font=Century Gothic]Title of News Feed[/font]
[size=1][font=Century Gothic]posted by th3Phallex on 1/11/2005 at 10:00[/font][/size]
[font=Century Gothic]<li>Item number 1<br></ul><br><b>This is the subject</b><br><ul style=" padding-bottom: 0px; margin-bottom: 0px;"><li>Here is a list item<br></ul>[/font]
I would like to have the “CDATA” stuff formatted the way it’s supposed to be. How can I do this? Do I need to process the data or something??