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
1answer
218 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 ...
12
votes
2answers
5k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
1
vote
2answers
5k views

Change XSLT for Discussion Board, deploy via VS2010

So we are creating a branded web site for a client to deploy internally (kind of an intranet), but 99% of users won't see the ribbon, just a branded information site. They want to use the Discussion ...
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 ...
8
votes
3answers
534 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 ...
9
votes
3answers
12k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
6
votes
3answers
1k 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 ...
2
votes
1answer
5k views

Sharepoint 2010 Discussion Board Thread.xsl

Ok, I have searched and searched for an answer on how to customize the thread.xsl file. So I have copied the file, and renamed it as thread2.xsl. In the threaded.aspx page, I have changed the ...
7
votes
2answers
8k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
2
votes
1answer
1k 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 ...
4
votes
1answer
891 views

Show Author.name in custom XSL for blog post

I've been attempting to modify the XSLT on the blog posts to show the authors photo. I've managed to get the photo showing by changing the 'Created By' column to the value "Person (with picture)" and ...
2
votes
1answer
2k views

How to attach programmatically and XSL to a View

I have my custom Document Library with his own content type, views and so on... I'd like to add a particular XSL to a View, to trasform particular value into other.. This works if I put the XSL file ...
1
vote
3answers
3k views

Hide column in xslt view

I've got an xslt list view. I have one column that should be used in the xslt calculation (shown as a row tooltip) but it should not be visible as a column in the list. Question: Must the column be ...
0
votes
1answer
886 views

How to use XSLT in sharepoint

I am new to XSLT coding in SharePoint, 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 title, name, Id, ...
0
votes
2answers
155 views

How to distribute People Search Core Results over two columns using XSL redux

This is a follow up to How to distribute People Search Core Results over two columns using XSL, When I use the suggested code block in that article <xsl:for-each ...
0
votes
1answer
447 views

Sharepoint 2010 grouped xsltlistview with custom XSL does not show items when initial settings for group is 'fold'

Following problem : I have a xsltListView (auto created on a publishing site). I have editted the default view and copied the stylesheet to a new .xsl file and placed it into the style lybrary. On ...
4
votes
2answers
5k views

XSLT ListView web part grouping and filtering

I have a web page in sharepoint 2010 on which I have added a document library using a XSLT ListView web part in sharepoint designer. I created a parameter that gets its value from the URL and is used ...
3
votes
1answer
1k views

Modify List Header Utilizing XSL

I am working with SharePoint 2013 and SharePoint Designer 2010 (and I'm a newbie to SharePoint) striving to modify a list header. Since this is a corporate site there are a lot of limitations, so ...
2
votes
1answer
2k views

XSL - Grouping by list item column with multiple entries

I am attempting to utilize XSL to format results pulled from a document library, but unfortunately this is my first stab at XSL ever. The columns in the document library are fairly standard - Title, ...
1
vote
3answers
24 views

Conditional Formatting Based on Number Range

I'm trying to add conditional formatting to a custom list based on whether or not a field contains a number in a certain range (i.e., if the field contains a number less than 15, i'd like the ...
1
vote
1answer
75 views

Change font size of specific columns

How can the font size of a specific column in a list be changed? The missing design view in SPD2013 does not help with that... I do not have access a style library, because it's apparantly only ...
1
vote
1answer
880 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
2answers
761 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
1answer
3k views

How do I View the Raw XML Output of a Content Query Web Part?

I would like to see the Raw XML that is output from a content query web part so that I can develop a custom xsl stylesheet for this. I have the publishing infrastructure enabled. I assume I can do ...
1
vote
1answer
2k views

XML Viewer Web Part 'Failed to apply XSLT to the content'

I am trying to use the XML Viewer web part in SharePoint 2010. Using the this XML <?xml version="1.0" encoding="UTF-8"?> <STOCKQUOTE ROWCOUNT='1'> <RESULT> <ROW> ...
0
votes
1answer
914 views

How to check if variable is not empty in xslt?

I am using sp 2010. I have a custom search result in xslt. I would like to check if "srportalurl" is not empty before show a ahref. If variable "srportalurl" is empty I would like show only the ...
0
votes
1answer
839 views

XSLT Template to Match Multiple FieldRefs

How can I match on multiple fieldrefs? I've made a copy of fldtypes.xsl in the /_layouts/xsl/ directory where I can work with fields in my lists (I have to restart the web application to get it to ...
0
votes
3answers
556 views

How to use resource file inside page layout?

I have a page layout in which following text is written: NEWS I already have a resource file which I am using in one of my XSLT file to display text based on language. In XSLT file I simply ...
0
votes
3answers
543 views

How to distribute People Search Core Results over two columns using XSL

I would be grateful if someone can show me how I would rewrite the following XSL file to produce the following layout (I have removed the Parameter lines in the code to meet the max character ...
0
votes
1answer
409 views

Customizing XLV web part's xslt

I have a list with few views. I've updated one view. Made column to be bold in the list's view. Then I opened a web part page and added this list (Page Tools -> Insert -> Existing Lists) then opened ...
0
votes
2answers
5k views

Unable to display this Web Part. To troubleshoot the problem, open this Web page … & Error: Reference to undefined entity 'nbsp'

I created a page in SharePoint Designer 2007 that use a SharePoint Library. I used the method of 'generating XSLT' from this page - How to customize the header titles of the List Views web part ...
0
votes
2answers
1k views

DVWP xsl formatting help needed

Need a hand formatting some XSL. Taking a look at an example that Marc Anderson put together for a jquery accordion, I need to tweak the output. I've been playing with this for quite a while and ...
0
votes
2answers
945 views

Remove Duplicates in DVWP using JQuery

I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...
0
votes
1answer
1k views

Summing a column on a DVWP with 2 levels of grouping with incorrect subtotals

I am working with SharePoint 2007, and have been charged with making a report based on external data (SQL Server). It is a high level look at list of tickets in particular statuses. I decided to go ...