XSLT (Extensible Stylesheet Language Transformations) is a declarative, XML-based language used for the transformation of XML documents.

learn more… | top users | synonyms (1)

2
votes
1answer
349 views

“Group by” with XSLT in Search Core Results web part

I have a bit of difficulty making it possible to group by the results in search core results webpart. I have a default xslt of that webpart and from there i would like to group the results by the ...
0
votes
1answer
21 views

Showing Items of Custom List

I created a new custom list then I created new web-part with custom list. I added xsl code for the web-part. I want to five item appears on homepage. If users click on "All Items", they redirect to ...
0
votes
0answers
12 views

How to get the unique values in DVWP using XSLT

My requirement is to get the unique values from the list in DVWP Web Part using XSL. Let's say i have following values in my list (10,10,20,30) and i need to show as (10,20,30). Any help would be ...
1
vote
1answer
474 views

How to dynamically pass values such as images and multiline texts to a wiki page which needs to be rendered in XSLT

I have a requirement where I have a list which contains 4 columns named 1.Title 2.Image 3.Short Description 4.Full Description. Now my requirement is that I need to display this list in a ...
0
votes
0answers
6 views

Custom filter and sort using xslt

Is it possible to use a query string to select items from a list and order them? For instance my page & query string SortFilter.aspx?selection='i13o1,i5o2,i27o3,' (i is for Item, O is for ...
1
vote
1answer
353 views

xslt dropdown & spservice.spcascadedropdown

I have a xslt list form view. I have 3 drop down on the form - Area , Geo Market , Country for which i want to implement cascading functionality. Data saved in list is of type Single line of ...
0
votes
0answers
17 views

XSLT on Person field allowing multiple values

I have a content query using custom XSLT that displays the user and his presence icon on the page.I got the XSLT from this link Here's a snippet of how I'm using it: <xsl:variable ...
4
votes
1answer
205 views

SharePoint XML Web Part dynamically adding xml link

Is there a way to dynamically insert a variable in the <XMLLink> --variable here--</XMLLink> tag? I'm trying to read an URL parameter which will contain the xml files path. What I am ...
2
votes
1answer
402 views

Can the list view's XslLink property contain a web address?

Some Background... I have created a custom blog web template (which I started by copying and pasting the OOTB blog site definition) and in order to customise the way blog posts are displayed, I have ...
0
votes
1answer
30 views

XSL for CQWP to display Link List items

I am attempting to use the following solution from Marc D Anderson's blog to display LinkList data in a Content Query Web Part: ...
0
votes
0answers
26 views

Dataview sort order issue

We have a dataview that pulls info from an XML file in a SharePoint library which is used to display a list of results grouped by 2 different dates in ascending order. An issue occurs when the XML ...
0
votes
0answers
9 views

SP2013: Recursively sum a calculated column

I know SharePoint 2010, but this is my first time with 2013 and XSLT. I've got a page with a DVWP that's pulling data via SOAP from another list on the site, and I'm trying to get the sum of an ...
0
votes
1answer
395 views

XSLT template conditional statement on lookup fields - Optimization help

I have a block of xslt that examines if the current node and performs some calculations using different lookup fields if a certain field matches a certain text string. It works as expected and is ...
0
votes
0answers
18 views

How to retrieve the ISO/original value of a DateTime column in a list using CAML?

I'm using SharePoint Foundation 2013 and I want to retrieve the data in my DateTime column. Is there a way to retrieve the original/raw values or ISO values of a DateTime column using CAML query? ...
2
votes
1answer
973 views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
1
vote
1answer
758 views

SharePoint 2010 Listview creates “Unable to display…” error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
1
vote
2answers
26 views

Hours and Minutes calculation in Dataview webpart

I have a DataView Webpart, to display XML data using XML File connection. I use the below formula to calculate the day difference between 2 dates: ...
1
vote
1answer
161 views

Can I change the display name of column in a listview using JSlink

I've a requirement to change the display name of a column in only one view, I've to show 'Responsible' instead of 'Responsible Person'. Is this possible by JSlink ?
1
vote
0answers
33 views

Search Results XSLT add filename property and render document link

I'm attempting to configure the custom XSL for core results search web-part in 2010. The goal here is: Include File name property as a search target Display Link directly to the file I've ...
0
votes
0answers
18 views

how to get the XSL names of the columns list

I need to add 3 more columns in the list which is shown in XSL. I looked at the webpart properties and there is defined a XSL Link file in the " Miscellaneous" of the web part properties. I opened ...
0
votes
1answer
41 views

XSLT or .NET in a webpart

Now I do a webpart with XSLT when only show data, but no know if is better make it with code .Net. for Example in XSLT: XSLT and SharePoint – Part 1 XSLT and SharePoint – Part 2 what is the ...
0
votes
0answers
19 views

XSLTListViewWebpart recursive header

I created a new XSLTListViewWebpart to display a list of files. This list contains folders and i just want to show the files with " Scope="Recursive" ". Now the header filters only show the folder ...
1
vote
1answer
40 views

Display count of items in each group by in the header using a data view

I am doing a group by in my data view web part and would like to be able to show the item count of each group in the header. There is an option you can use from the data view Sort & Group options ...
1
vote
0answers
18 views

xsl change on fields in dispform.aspx

It isn't too difficult to use xsl to modify the display of items in a list (via a custom fldtypes.xsl file), but can the fldtypes.xsl file also be used to change the display on the `dispform.aspx' ? ...
4
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
2
votes
2answers
4k views

ddwrt:FormatDate is reverting date parts

I'm using a custom XSLT file to format the oob created column to not show time, only date. I have this code : <xsl:template name="FieldRef_ValueOf.Created" ...
0
votes
1answer
48 views

How to refresh after edits to fldtypes.xsl?

After I make an edit to my custom \LAYOUTS\XSL\fldtypes.xsl file, such as these, how do I make the system immediately load the new file? I know I can get it loaded immediately with an iisreset. I ...
1
vote
1answer
28 views

XSL Handle on PercentComplete column

In my sharepoint task list there is a field with a display name of % Completed with a name of PercentCompleted. I am trying to get an XSL handle on this column so I can add a css class. I have put ...
0
votes
0answers
32 views

XSLT rendering differently in the browser

I am having an issue with modifying some XSLT. I have two columns, and am trying to change the background color of each item depending on the value of the two columns. In SPD 2010 this works ...
2
votes
2answers
537 views

Adding custom XSLT extension methods for Data Form Web Parts

I'm trying to figure out how to add my own XSLT extensions to be used in the DataFormWebPart on MOSS 2007, kind of like a custom ddwrt library. A comment on this post seemed to say that I could ...
0
votes
1answer
61 views

Redirect to Display Form page after new item created

I have created a custom New Item Form, and customized the Save button to redirect to the Display Form after submission. I asked a similar question, and it was gratefully answer by @Amal (here). The ...
1
vote
1answer
55 views

Redirect after form submission to a display form page

I have a Item Form to which I would like to add a redirect feature after submission. <button class="btn btn-default" onclick="javascript: ...
1
vote
0answers
47 views

Can you make an XSLT group by itself through lookup?

Recently I figured out this nice grouping template that I will paste below. Now I am wondering: my list is really simple: Title Parent (= lookup to Title of this list) I would like to this list to ...
0
votes
2answers
44 views

List Validation

In attached sharepoint list column "Status" Data Type is "Number", Column type is "Calculated", Formula :- =IF(NOT([Balance Qty]=0),"OPEN","CLOSED"). Here the requirment is if "PO Date" is not ...
0
votes
2answers
32 views

My first row keeps repeating - <xsl:template match=“Row”>

I am getting data from a list with xsl and creating a nice print preview of that data. The table I am creating is correct except my first row keeps repeating (it has the column name and it is only ...
0
votes
1answer
737 views

Missing some custom fields on Content Query

I need to display my custom list rows using a custom XSLT, so I have configured a CQWP to display these rows from this specific list. Although, even the Order by dropdown list displaying all list ...
0
votes
0answers
23 views

Why does (XSLT-Function) generate-id() not work in SharePoint 2013 Content by Search WebPart?

Is there a reason that some XSL 1.0 functions do not work in SharePoint 2013 Content by Search Web Part? I recently came across the problem that a nested <xsl:for-each> does not work and neither ...
0
votes
2answers
67 views

CQWP: How to count rows per category

I have a CQWP that returns all draft items in a single library, grouped by "Modified by." I would like to display a count of draft items next to each user's name. I know how to edit Header.xsl, and ...
6
votes
1answer
198 views

Current user login name in XSLT

I'm trying to define a display template for one of my site columns by using XSLT. One of the things I would need is the loginname (DOMAIN\user) of the currently logged in user. There's one way ...
0
votes
1answer
32 views

What is the meaning of this XSLT?

I want to know the meaning of this following XSLT Code shown below... <xsl:choose> <xsl:when test="(substring-before(substring-after(@Department,'=*&quot;&gt;'),'&lt;')) = ...
2
votes
2answers
690 views

Site collection relative url in XSLT search or by JavaScript

I have the following question: I'm modifying the XSLT of the search, so it is represented differently etc etc .. in this occasion I also need to get a relative site collection url. In managed ...
0
votes
2answers
79 views

how to deploy a page with XML in Visual Studio that having Friendly Url?

how to deploy a page with XML in Visual Studio that having Friendly Url? Does anyone knows how can I do that? example what not have Friendly Url <File Path="Home.aspx" Url="Home.aspx" ...
0
votes
1answer
141 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> ...
0
votes
0answers
43 views

SP2013 - Static item in Content Query Web Part?

On our main page of our SharePoint implementation, we have a CQWP called Spotlight. It's displayed as a banner slider with paging buttons on it. It will only ever show 7 of the most recent Spotlights. ...
3
votes
1answer
221 views

XSLT - add icon in GANTT view

In my custom XSLT file, I am able to modify a choice field to swap the text for icons. My choice looks like this; it just checks for the column header name and for the number in parenthesis, then ...
0
votes
0answers
15 views

Change $CurrentLcid in XSL

In the XSL of my refinement panel, I've this: <xsl:param name="CurrentLcid"></xsl:param> Unfortunately the value never changes when I change my selected language. Do you have a ...
0
votes
0answers
36 views

CQWP blog roll Item Style for blog posts how to put a field in bold in xsl? or format others?

I followed this popular guide to do a CQWP of one or more blogs. http://erikswenson.blogspot.co.uk/2010/03/sharepoint-2010-content-query-for-blog.html Everything works, except I would like to know ...
0
votes
0answers
51 views

XSLT - Field Value shows in designer, but all field values does not render in browser except @Title

SharePoint 2010 I have project I'm working with, using Accordion within EasyTabs. Everything works fine, but when the page is rendered in the browser fields drop off. Except for the @Title field. ...
2
votes
3answers
122 views

XSLT: Set the background colour of cell when the task is overdue

I currently have this XSLT added to my list (snippet): ... <xsl:param name="Today">CurrentDate</xsl:param> <xsl:template name="FieldRef_printTableCell_EcbAllowed.Due_x0020_Date0" ...
0
votes
0answers
104 views

dispex SharePoint.OpenDocuments.3 works for PDF but not Office docs?

I have the folllowing in my XSL for a (SharePoint 2010) content query webpart: < A onfocus="OnLink(this)" HREF="{$ItemUrl}" onmousedown="return ...