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
60 views

Retrive webpart title in xslt

I have created one XSLT schema file which consuming several webparts (Lists). But there is only one line differs for all webparts - 'View More' Link. When user clicks the link it will take ...
0
votes
0answers
43 views

XSL does not enter the correct condition

I have the following condition (I removed some items not to let the long code): <xsl:when test="$Rows[1]/@Style='Results-List'"> <ul> <xsl:for-each select="$Rows"> ...
0
votes
0answers
21 views

My custom xslt code's effect disappear on custom lists

I have custom sharepoint lists and for each list I have xslt code that makes different views. I link them on maintenance but after a while the effect of these files are diasppear and all the lists ...
0
votes
1answer
105 views

XSLT: Get user's name

I have a column whose type is Person or Group. I'm trying to show the user or group in that column. I have managed to remove special characters using disable-output-escaping="yes". However, if the ...
0
votes
0answers
88 views

Using Rows/Row twice in xslt

I want to use Rows/Row twice but I have no idea how to do it. So I just wrote Rows/Li but it doesn't work. I have two different functions but I don't know how to reference them. How can I change ...
0
votes
1answer
618 views

Get Current Custom Sharepoint List Item Row Number for XSLT

... <xsl:apply-templates select='Rows/Row'/> </xsl:template> <xsl:template match='Row'> <li data-target="#carousel-example-generic" ...
0
votes
1answer
17 views

how to edit the XSl style sheets to make a heading link to a site

I have a CQWP that I am using to pull data from various sites and display the site title as a heading, and the documents underneath. The site title displays as a heading. Is there a way to make the ...
0
votes
0answers
240 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 ...
1
vote
1answer
95 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
305 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
1k 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
210 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
1answer
85 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
1answer
264 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 ...
1
vote
1answer
799 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
210 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
479 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 ...
1
vote
2answers
2k 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
70 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
506 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
176 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
119 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
100 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
225 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
103 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
1answer
38 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 ...
7
votes
2answers
332 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
182 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
1k 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
59 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 ...
2
votes
0answers
192 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 ...
1
vote
0answers
303 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 ...
6
votes
3answers
780 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
1k 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 ...
1
vote
2answers
85 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
124 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
53 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
964 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
53 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
2k 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
1answer
114 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
164 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
217 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
834 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
2answers
1k 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
410 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
571 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
515 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
32 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 ...
0
votes
1answer
612 views

List View - XSLT Filter by Count

I have a SharePoint list that has several records. One field in the list uses SPServices to query possible values in another list during data entry (essentially a lookup). I created a view and am ...