SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have inserted a CQWP on a site and set it to print a description, but it prints out HTML code.

disable-output-escaping is set to yes. That doesn't help.

Also when I try to edit it to make it print a date it says that the webpart cannot be shown.

share|improve this question
up vote 1 down vote accepted

have you tried to disable output escaping?

disable-output-escaping = "No"

how are you doing the date?

share|improve this answer
Yes.. That didn't work either. I am trying with this: <xsl:variable name="Created"> <xsl:value-of select="ddwrt:FormatDateTime(string(@Created) ,1033 ,'dd.MM.yyyy')" /></xsl:variable> from… – Morten Hagh Jan 18 '13 at 9:34
I had to put disable-output-escaping = "yes" in the description section! – Morten Hagh Jan 18 '13 at 15:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.