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

learn more… | top users | synonyms (1)

1
vote
0answers
72 views

CQWP grouping with custom order

Can anyone show me how to customise the order that the CQWP 'Groups By", We group Project Sites by Project Phases(from each project site List) and that's all good- but we need them in a specific ...
0
votes
1answer
53 views

Output all comment versions within CQWP

I currently have a list which contains a text field for comments, versioning is enabled and the comments field is set to "Append Changes to Existing Text", so that we can capture and maintain multiple ...
0
votes
0answers
19 views

xml data in sharepoint

how to get raw xml data generated in sharepoint? I got one xml template for it but dont know how to use it. http://msdn.microsoft.com/en-us/library/office/cc760536(v=office.12).aspx ...
0
votes
2answers
1k views

Get both ID and Name from a field of type 'Person or Group' in a Content Query web part

I posted this question on StackOverflow a couple of weeks ago, but since it hasn't got very much attention I'm posting it here instead. I'm building a Content Query Web Part that is supposed to ...
0
votes
1answer
62 views

Unable to diplay this Web Part when using a DVWP to display items for a large list

I hope someone can help me out with this one. I have a large list that contains about 40 columns and currently holds 33 thousand list items in SharePoint 2010. One of the columns is used to enter an ...
1
vote
1answer
420 views

Can't Design Content Query Web Part JavaScript News Ticker

I created a news list in SharePoint 2010 that shows news on the home page just like a news ticker with JavaScript. I used a content query web part to show news. This article is so useful, but doesn't ...
1
vote
1answer
120 views

Learning Dataview webpart and xsl

I have taken over a Sharepoint 2007 site and been tasked to migrate / recreate much of it to a separate Sharepoint 2010 site. I am still learning many aspects of Sharepoint. The old site has many ...
0
votes
1answer
422 views

Displaying Field Contents in JQuery UI Tooltip

In SPD 2010 I have created an aspx page, in which I have inserted an Empty Data View. I then selected the list, and then fields which are shown on the page. I want to incorporate a "tooltip" popup ...
0
votes
0answers
45 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
1answer
108 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
91 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
681 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
257 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
97 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
332 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
2k 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
243 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
89 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
281 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
877 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
223 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
497 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 ...
2
votes
1answer
527 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
194 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
125 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
105 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
240 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
107 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
39 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
353 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
196 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
60 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
199 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
325 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
844 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
2k 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
128 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
54 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
1k 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
57 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
117 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
174 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
226 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
883 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" ...