Need help Displaying HTML data in CQWP

I would like to use the CQWP to display the most recent 3 items from a list on the Home page.  The CQWP would be perfect.  But I've had a problem using it:

When I display the Title and Body (using a list based on the Announcements content type), the title displays properly but the body is a mix of content and HTML.  Using the command below did not improve the output:

<xsl:value-of disable-output-escaping="yes" select="@Body">

Another problem I had was getting a custom xsl:Template to show up in the dropdown.  I could define it in the ItemsXSL, but it never displayed as an option.

So, questions:

  1. How to get output with extraneous HTML

  2. How to get custom template to display.

Thanks

January 27th, 2014 8:13am

Hi,

Kindly follow the steps mentioned in the below blog to display HTML content

How to Display HTML in Content Query Web Part

Free Windows Admin Tool Kit Click here and download it now
January 28th, 2014 2:57am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics