title: Styling RSS feed using XSLT, issues with CDATA tags
body: <p>I am styling an RSS feed but having an issue with the following part:</p>
  
  <pre><code>&lt;description&gt;
  &lt;![CDATA[
  &lt;img src="http://l.yimg.com/a/i/us/we/52/34.gif"/&gt;&lt;br /&gt; &lt;b&gt;Current Conditions:&lt;/b&gt;&lt;br /&gt; Fair, 73 F&lt;BR /&gt; &lt;BR /&gt;&lt;b&gt;Forecast:&lt;/b&gt;&lt;BR /&gt; Sat - Clear. High: 78 Low: 62&lt;br /&gt; Sun - Mostly Sunny. High: 80 Low: 66&lt;br /&gt; &lt;br /&gt; &lt;a href="http://us.rd.yahoo.com/dailynews/rss/weather/Dubai__AE/*http://weather.yahoo.com/forecast/AEXX0004_f.html"&gt;Full Forecast at Yahoo! Weather&lt;/a&gt;&lt;BR/&gt;&lt;BR/&gt; (provided by &lt;a href="http://www.weather.com" &gt;The Weather Channel&lt;/a&gt;)&lt;br/&gt;
  ]]&gt;
  &lt;/description&gt;
  </code></pre>
  
  <p>You can see my attempt <a href="http://mayar.abertay.ac.uk/~0902221/r/grab.php" rel="nofollow">here</a></p>
  
  <p>Here is my XSLT:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
  &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  &lt;xsl:template match="/"&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;table cellpadding="2" cellspacing="0" border="0" width="75%"&gt;
          &lt;xsl:for-each select="rss/channel/item"&gt;
  
                &lt;tr style="color:#0080FF;"&gt;
                  &lt;td style="text-align:left;font-weight:bold;"&gt;
                    &lt;xsl:value-of select ="title"&gt;&lt;/xsl:value-of&gt;
                  &lt;/td&gt;
                  &lt;/tr&gt;
  
  
                  &lt;tr style="color:#0080FF;"&gt;
                  &lt;td style="text-align:left;font-weight:bold;"&gt;
                    &lt;xsl:value-of select ="location"&gt;&lt;/xsl:value-of&gt;
                    &lt;xsl:value-of select="pubDate"/&gt;
                  &lt;/td&gt;
                &lt;/tr&gt;
  
  
                &lt;tr&gt;
                  &lt;td colspan="2" style="text-align:left;padding-top:10px;"&gt;
                    &lt;xsl:value-of select="description"/&gt;
                  &lt;/td&gt;
                &lt;/tr&gt;
  
            &lt;tr&gt;
              &lt;td colspan="2" style="height:20px;"&gt;
                &lt;hr&gt;&lt;/hr&gt;
              &lt;/td&gt;
            &lt;/tr&gt;
          &lt;/xsl:for-each&gt;
      &lt;/table&gt;
    &lt;/body&gt;
  &lt;/html&gt;
   &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>I am trying to get the information from the description tag so I can style it like I did the title and publication date. <a href="http://weather.yahooapis.com/forecastrss?w=1940345" rel="nofollow">Here</a> is the full XML RSS feed which I am trying to style. Can anyone help me figure out why the CDATA tags are messing things up?</p>