Hi, I'm trying to style my Atom 1.0 feed with XSL.
I need to use <![cdata[...]]> to prevent special characters to create a parse error.
But then HTML tags inside <![cdata[...]]> aren't recognized by any browser.
That's the part of my Atom 1.0 feed :
Code:
<summary type="xhtml">
<![cdata[
<div xmlns="http://www.w3.org/1999/xhtml">
my content
</div>
]]>
</summary>
and I get :
Code:
<div xmlns="http://www.w3.org/1999/xhtml">
my content
</div>
instead of :
Using <xsl:value-of select="atom:summary"/>
I tried several ways to get it work, but none did :
method="text"
cdata-section-elements="atom:summary"
disable-output-escaping="yes"
<summary type="xhtml"><![cdata[<div xmlns="http://www.w3.org/1999/xhtml">my content</div>]]></summary>
sdgsdg
I took example on my feedburner feed.
Their BrowserFriendly feature (which is just an XSL in fact) works fine on my feed,
but once I copy locally my feedburner feed (the XML file) and try to view it still using their XSL
http://feeds.feedburner.com/~d/styles/atom10full.xsl, it's broken, HTML tags aren't recognized.