Wordpress RSS import
This is an open discussion with 2 replies, filed under General.
Search
Are you using <xsl:value-of>
or <xsl:copy-of>
?
Try
<xsl:value-of select="description" disable-output-escaping="yes"/>
Thanks Allen!
I tried it with both and got the same results but ‘disable-output-escaping’ was what I was missing.
Thanks a bunch!
Create an account or sign in to comment.
Hi all! This is kind of a general XSLT issue but I thought I’d ask here because Symphony has built an excellent community of XSLT experts :)
I have a problem when I import an RSS feed generated by Wordpress. It imports using numeric entities so I end up with something like this (in the rss <description> tag):
I think the problem is because the <description> tag is enclosed in CDATA and so the parser safely encodes everything.
Is there any way I can get the transformation to render the entity correctly and not add the ‘&’ to it?