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 used to use the ddwrt:IfNew in SP 2007 to show if docs or items are new but trying the below doesn't work. Any ideas....

<xsl:if test="ddwrt:IfNew(string(@Created))">
    <img alt="" src="../images/GMAILNEW.gif" width="16" height="16" />
share|improve this question
Oops you have to use :@Created_x0020_Date.ifnew instead – Patrick Nov 4 '10 at 4:45
Thanks @Patrick. Please leave your comment as an answer next time, and then you can gain reputation for it as well! – Alex Angas Jul 5 '11 at 2:10

Comment as answer from OP:

You have to use :@Created_x0020_Date.ifnew instead.

share|improve this answer

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.