The DDWRT extension object provides a collection of variables that is persisted across page requests in the ASP.NET view state, so it can pass information from the XSLT transformation of the current page request to the XSLT transformation of the next page request.

learn more… | top users | synonyms

4
votes
3answers
473 views

Can the ID from a referenced column be obtained when using the Data View Part?

I have a Data View Part pulling from a list that has a lookup column to another list (title linked by ID) And somewhere in the XSLT, it reads <xsl:value-of select="@ColumnX"/> Now since ...
3
votes
2answers
690 views

Wrong formating of date in xslt

My xslt list view suddenly broke today, and it seems to be due to some date time formatting I've done (and that I'm unable to spot) Today:<xsl:value-of select="$Today"/><br/> ...
2
votes
2answers
2k views

What is the best way to encode parameters to pass it to other List / Page?

I would like to know the best way to encode parameters (with a space or other unsafe characters) when passing these to another List. With ddwrt:UrlEncode ? <xsl:variable name="MyURL" ...
1
vote
1answer
95 views

Can I output a date in French from an XSL file?

In my XSL file, I set my date like this: <xsl:value-of select="ddwrt:FormatDate(@Date, 2057, 3)" /> This gives me an English date like 07 April 2015. Can I get this date in French?
1
vote
2answers
990 views

Duplicate the functions of the ddwrt xsl namespace

I am creating a custom print function for our Sharepoint data as we have some requirements about the way the data is formatted and some of this depends on the content. I am using xml and xsl for this ...
1
vote
2answers
1k views

ddwrt Schema Unavailable?

So: I'm trying to use the ddwrt:FormatDateTime function in an XSL transform, but I'm getting the following error: Exception details: Method: ...
0
votes
1answer
638 views

ddwrt:IfNew doesn't work in SharePoint Designer 2010

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="" ...