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

learn more… | top users | synonyms (1)

0
votes
0answers
27 views

XSLT List View: Sorting by Author

I am pretty new at SharePoint and I was asked to edit an existing XSLT list view in which the sorting options for column Author were displayed inside HTML tags. The author's name is being ...
0
votes
0answers
127 views

Sharepoint 2013 : Unable to display this Web Part. To troubleshoot the problem…!

We are using SharePoint Online 2013, to develop custom list-item form which has more than 200 columns. When we navigate to the custom (XSLT) New Item Page, it throws below error: Unable to display ...
0
votes
0answers
50 views

xsl : change display with user rights on item

I'm using Sharepoint 2010. I'm trying to customize the discussion board. I want to display the 'Edit' button on the item status Bar. To achieve this, I followed this tutorial and it helped me a lot. ...
0
votes
0answers
64 views

How to apply alternate colors to filtered table rows using XSLT

Hi i am able to apply alternate colors to table rows when i am not applying any filter using: <xsl:when test="position() mod 2 != 0"> But when i apply filter of unique values, i will get ...
1
vote
1answer
54 views

Has anyone embedded C# code in a SharePoint Content Query XSL?

Has any ever tried calling an embedded C# function from within content query XSL? Contrived example: The exception in the SharePoint log is: System.Xml.Xsl.XslTransformException: ...
1
vote
1answer
168 views

How to find out number of distinct rows when using XSLT data view web aprt

Hi i know that we can find number of rows in XSLT data view web part by using this expression <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/> <xsl:value-of ...
1
vote
1answer
400 views

How to view xml code of a list view

I have created a view of list by following manner Created a new page Opened the page in edit mode clicked on add a web part Chose List and Libraries Clicked on list that is already created. I ...
0
votes
0answers
95 views

How to assign a java script variable to xsl variable

I have a requirement where the user enter the price in text box and i need to get the value in java script/jquery function and by using the value i need filter list data using xslt. I have to assign ...
0
votes
0answers
71 views

Sum value in List View SharePoint Designer return 0

I have a list with the ammount value, and I have to sum it. The webpart list is inside another display list view. ================= Ammount / Valor 1111 14515 ================= The "Ammount / ...
0
votes
1answer
62 views

XML code for List view

I am trying to create a list view using xslt style sheet coding. I find out how write xslt with help of w3schools. But in order to write xslt coding i have to see the xml code of list view . Any one ...
0
votes
0answers
62 views

Time Zone calculations

On SharePoint 2010, so I am limited to XSLT 1.0. I have a list that contains locations (@Title) and time offsets in relation to GMT (@TimeOffset) and want to calculate the current date and time for ...
0
votes
1answer
128 views

How to use XSLT in sharepoint

Hi i am new to XSLT coding in share point, but i know that we can use XSLT coding to create a list view with more sty-lings. I have a list named "detailsOfEmployee" with columns ...
0
votes
0answers
29 views

How do I make the Followed documents page show title instead of filename?

In every user's personal site there's a page FollowedContent.aspx. This page have a XSLTListViewWebPart called "social" which have the property GhostedXSLLink="main.xsl". I want to modify it so that ...
1
vote
1answer
358 views

XsltListViewWebPart build query using variable

is possibility send a variable from ParameterBinding to query in XsltListViewWebPart? <Query> <Where> <Eq> <FieldRef Name="FileDirRef"/> <Value ...
0
votes
0answers
165 views

XslLink doesn't work

I create a webpart on my page. And I give style to the webpart with xslt file. And I'm linked this xslt file in my page. But xslt file doesn't work. This is my code: ...
0
votes
1answer
282 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
39 views

Sorting by XSLTListviewWebPart Totals

I would like to know if there's a way to sort items by group totals? Thats how it looks now: and thats the order i would like to achieve: But the problem is that (in this particular scenario) i ...
0
votes
0answers
34 views

Display textbox for ItemStyle and MainContentQuery customization

I have the requirement to display a textbox on the content query webpart editor pane in which a user can type the path to a custom ItemStyle.xsl and MainContentQuery.xsl and the webpart will use the ...
0
votes
0answers
24 views

Problems with some web parts when using XSLT

I have a page on which I have several web parts. Some web parts are custom while others are OOB and only XSLT is applied on them. I am using 2 WFEs with NLB. Problem is when I do iisreset on one of ...
1
vote
2answers
1k views

2010: How to get Item-ID in SharePoint view? {@ID} gives GUID, not ID

In a view of a custom list, I want to add a Script call to a link which opens a custom application page inside a model dialog. The JS function needs the current Item ID as a parameter, so I create ...
0
votes
1answer
51 views

Creating a HelpDesk ticket totals Data View Webpart

I have a Data View Webpart and I need to add some XSLT to represent the table below. I'm not a developer and have no idea how to do this. I also already have my SharePoint helpdesk template installed ...
2
votes
1answer
258 views

How to show XML weather in sharepoint?

I'm quite a newbie with sharepoint and especially in XML. I would like to show this weather info in my Sharepoint. I'm using XML web part & XSLT formatting. ...
1
vote
0answers
99 views

CQWP with custom XSL not working, cache issues

I'm replacing the default ItemStyle.xsl with a custom xsl file, my xsl file contains the default xsl:stylesheet and a xsl:template looking something like this <xsl:template ...
2
votes
0answers
85 views

XSL returning only XML result

I'm attempting to use a Content Query webpart to display a calendar but instead of getting a styled result I get an XML result that looks like this: <dsQueryResponse> <Rows> ...
0
votes
1answer
64 views

Xslt file not overriden on sub sitecollection

I have modified the ContentQueryMain xsl file and want to override it when I deploy. So far it works fine, but I have multiple site collections where I also need to override the ContentQueryMain xsl ...
1
vote
1answer
178 views

CQWP Grouping a custom header with formatted date

Pulled this from the web and it seems to work for the most part. However... I have a calendar on a subsite. I want to display the events on the home page of the top level site and customize the ...
0
votes
0answers
83 views

Avoid security warning in IE in Rss viewer webpart

I have a RSS viewer webpart inserted on a Sharepoint page which shows description of today's birthdays along with images. I am getting security warning in IE due to images( http://) I wan to suppress ...
0
votes
0answers
205 views

XSLT and decimal-format

I have a customized Xslt List View wepart and I want to format a field of type number as a European currency. The euro format requires a comma as a grouping-separator and a point as a ...
0
votes
1answer
31 views

How to put a contorl in the AssetLibrary thumbnail view?

I have an asset library in which I want to put a check box to give user the select all functionality on Asset Library thumbnail view. As a SharePoint beginner I don't know from where to start? I ...
4
votes
1answer
187 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of ...
0
votes
1answer
108 views

Create a radio button filter based on “Created Date” attribute using jquery or javascript

Iā€™m currently loading a number of list items through a customised Content Query Web Part. And XSLT attribute associated with each of these items is the Created Date. An example of the mark up ...
2
votes
2answers
598 views

How to customize item style template?

SP newbie here. I am trying to understand then customize a built-in item style template (copied from the ItemStyle.xsl file) below. 1 Where can I find the functions OuterTemplate.*? 2 Should I want ...
0
votes
0answers
53 views

Prevent removing ItemStyle.xsl when retracting solution

I'm working on a solution which requires me to override the default ItemStyle.xsl as well as the ContentQueryMain.xsl files. What I'm interested in knowing is; is there a way to prevent the files ...
0
votes
0answers
101 views

DVWP XSL Filter then Group By not working properly

I have created a DVWP that collects information from a task list I want to filter the items to show only tasks where Status = Not Started, then count and group all of the tasks by "Assigned To". The ...
2
votes
0answers
151 views

Custom field XSLT Rendering Issue in SP 2007, Works on 2010

I have created a VS 2008 WSP builder solution. IN that i have a custom field which has a XSL for list item view rendering using XSLT. This Solution does not render the image or hyperlink in SharePoint ...
0
votes
0answers
18 views

XSL Template Modification Help

Help! I have a Projects list which has a person/group column named Engineers. It's a multi-select column so in some entries I can have 2+ engineer names. The client wants the Engineers view to ...
1
vote
0answers
206 views

Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it

I have created a custom field in SharePoint 2010. I have a xsl file which does the Xslt rendering for item display in list view. I need to add some C# code to the xslt code. So i included code as ...
0
votes
0answers
55 views

SharePoint 2013 XSLTListFormWebPart not rendering mobile friendly controls

I am in the process of building a SharePoint 2013 solution which is targeted both at desktop as well as mobile devices. I have a separate data input form for mobile device which I have created by ...
0
votes
0answers
28 views

SPFieldChoice not showing correctly in view

We have an SPFieldChoice "ApprovalStatus" and are showing it in a view through the following xslt: <td> <xsl:value-of select="@ApprovalStatus"/> </td> The thing is that it ...
4
votes
3answers
562 views

XSLT or JSLink (which one to use?)

If I have the option of using XSLT or JSLink, which one shall I chose? I don't know anything about JS Link and so far I have done all work in XSLT but I have heard JS Link is the future as there ...
3
votes
3answers
816 views

Blog Read More Link and Summary of Body

I created a blog that uses the standard sharepoint 2010 blog site template. However as it currently stands the default.aspx page shows the entire blog article. I would like it to only show the first x ...
0
votes
0answers
45 views

Filtering a DVWP while using XSL:Import

I've got a DVWP in SharePoint 2010 that shows the details of a single item. The DVWP chooses the correct item to display based on the current site URL (relative path). Everything works great, but the ...
0
votes
0answers
26 views

Get a column data from an XSL and insert it and synchronize it in a SharePoint Column

I would like to get data from a XSL column and display it in a SharePoint column inside of a list. How can I do this ? and after, if someone add more items into the XSL table , how can I update the ...
1
vote
2answers
74 views

How to use “mod” in XSLT

I am displaying two records from a list on home page. Only the first record needs to show image while second record will not show image. Here's what they will display: First record Image Title Date ...
0
votes
1answer
88 views

XSLT not displaying data from Arabic column external list

I have an external list named "users". It is coming from SQL Server and has following two columns: English_Name varchar(300) Arabic_Name nvarchar(300) Notice the Arabic_Name field has data ...
0
votes
1answer
52 views

Xsl when-otherwise statement

I have the following xsl snippet from a standard web part that gets its data (image, header, text) from the Pages library, specifically the part that checks the image: <xsl:choose> ...
1
vote
2answers
604 views

XSLT Row Count Question

Using XSLT v1.0 tl;dr : How do i count the number of rows where two columns contain non-null values? I have an application that records time stamps. I am taking two of those time stamps columns and ...
1
vote
0answers
48 views

DataView Webpart Folders

Is there a way to pass the root folder parameter to a page that the DataView webpart consumes? If I have a page, test.aspx with a DVWP on it, it will show all my documents and folders in a list. If I ...
0
votes
2answers
613 views

How to use <img src=ā€œā€> in XSLT

I am using the following code to display image using XSLT in Sharepoint. It is working fine. <xsl:value-of select="@Image"> But this approach doesn't allow me to define width and height of ...
0
votes
0answers
40 views

itemstyle.xsl not picking up date from resource file

I have a custom xslt file named "myfile.xsl" Inside it I am using resource file as below: <xsl:param name="MyVar" /> <xsl:value-of select="$MyVar" /> It is displaying the value of ...