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.


have you tried to disable output escaping?

disable-output-escaping = "No"

how are you doing the date?

  • 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 uccorner.com/231/sharepoint/… – 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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