Content Query Webpart – Displaying Richtext

Requirement

Create a content query webpart that pulls data stored in Richtext format. Data must be displayed without html codes.

Solution

Modify the XSLT to use the ‘disable-output-escaping=”yes” tag:

For example: <xsl:value-of select=”@Description” disable-output-escaping=”yes”/>

Tags: ,

One Response to “Content Query Webpart – Displaying Richtext”

  1. landscape photographers October 18, 2013 at 3:57 pm #

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and
    now each time a comment is added I get four e-mails
    with the same comment. Is thre any way yyou can remove me from that service?

    Cheers!

Leave a Reply

%d bloggers like this: