Questions tagged [ddwrt]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
134 views

SharePoint 2010 XSLT treating calculated column number as string which breaks ddwrt:Max

I have a calculated column that is a number field. It basically adds to other number fields. When I look at the item through the website I see the format as "1,050" (with the comma). In a DVWP using ...
2
votes
0answers
185 views

CQWP XSLT ddwrt:Today() return PST time zone instead of Local time zone

I am working on CQWP webpart in Office 365(SharePoint Online). I have to get today's date for date comparison. I have use xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" for ...
2
votes
1answer
191 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?
2
votes
2answers
2k 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: System.Collections.Generic.IList`1[System.Xml.XPath....
3
votes
2answers
870 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/> ...
0
votes
1answer
725 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="" src="....
1
vote
2answers
1k 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 ...
5
votes
3answers
553 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
3k 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" select="...