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
1answer
19 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
11 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
52 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
18 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
26 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
29 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
22 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
16 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
27 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
17 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
125 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
28 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
57 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
24 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
47 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
23 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
49 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
40 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
44 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
20 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 ...
2
votes
0answers
61 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
73 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 ...
1
vote
2answers
217 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
36 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
46 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
92 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
16 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
100 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
39 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
26 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
182 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
228 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
38 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
21 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
54 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
45 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
45 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
278 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
27 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
120 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
35 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 ...
0
votes
1answer
70 views

Use REST or XSL to get a Table with totals

I have a list with items that contains several columns like: Year Month HourCategory1 HourCategory2 HourCategory3 Now I want to create a table that shows only totals of the hour categories: ...
1
vote
0answers
59 views

Is there an option to convert to XSLT view for Calendar Webpart?

I am trying to modify the calendar view of a document library. However, there doesnt seem to be an option for showing the name of the document on the calendar. I would like to have users click on the ...
2
votes
1answer
96 views

xsl:import and xsl:include do not show changes from the xsl file in custom display forms

I have been struggling to edit all my custom display forms and view forms to render using external xsl files. So far I found out that normal ways cited around the internet do not work very smoothly ...
0
votes
2answers
239 views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" ...
0
votes
1answer
336 views

How to store the value into the xslt variable returned from Javascript function?

I have created a template in ItemStyle.xsl for CQWP. I want to store the xsl variable value that is returned from javascript: My template is: <xsl:template name="DepartmentsTemplate" ...
2
votes
2answers
157 views

How to display taxonomy value using xslt?

I have created an item template in ItemStyle.xsl to assign it to the CQWP. My template is: <xsl:template name="DepartmentsTemplate" match="Row[@Style='DepartmentsTemplate']" mode="itemstyle"> ...
0
votes
1answer
192 views

Transpose list items in data view webpart(xslt)

I am working on a sharepoint list with items view like below name | code | total | date build1 x1 10 apl-2013 build2 x50 60 may-2013 build3 x90 450 ...
0
votes
2answers
182 views

How do I use XSL to filter SharePoint columns

Using: SharePoint 2010, Designer 2010 I have a SharePoint list rendered in a view. It is grouped by the values of one column, it is called "Cost-Center". I would like to sum the values of the ...
0
votes
1answer
20 views

Modify code construct to allow xsl:if

In the snippet below, I want to be able to change the value in the first href= to a different WP form based on another value in the list. I want to embed the code in conditional statements to test for ...