Tag Info

New answers tagged

0

Or you can just add disable-output-escaping="yes" to the xsl value in itemstyle.xsl to get the html to render correctly. For example: xsl:value-of select="substring(@Description,1,255)" disable-output-escaping="yes" /> OUTPUT ESCAPING RICH TEXT IN A CONTENT QUERY WEB PART


0

You can edit the XSLT and remove html using below template <xsl:template name="RemoveHtml"> <xsl:param name="String"/> <xsl:choose> <xsl:when test="contains($String, '&lt;')"> <xsl:value-of select="substring-before($String, '&lt;')"/> <xsl:call-template name="RemoveHtml"> ...


0

By using a Content Search Web Part you can customize queries to your catalog. You can then create Item and Control display templates to style and show the data you specify. Here is a pretty good series to get familiar with the process: ...


0

I'm not sure if this is the exact solution to your problem. But have you tried just writing @DatePublication instead of wrapping it in string(@DatePublication)? Here is a good link if you need to find some ways to format the date: http://blogs.msdn.com/b/joshuag/archive/2009/03/25/custom-date-formats-in-sharepoint-xsl.aspx



Top 50 recent answers are included