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
90 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 ?
0
votes
0answers
63 views

Adding permission based edit URL to content query webpart

I am displaying a list onto a page using the content query webpart(Sharepoint 2013). I would like to be able to allow a select few users (already in a group) to be able to edit the list item using a ...
1
vote
0answers
135 views

Content Query, TaxonomyFieldTypeMulti and XSL transformation

I have something like the following in my Taxonomy Term Store: + [Managed Metadata Service] + Earth (Group) + Continents (Term Set) + Europe (Term) - Italy (Term) - France ...
1
vote
2answers
113 views

Change Header on Group By

Suppose I have a SharePoint list with a choice column "Department". Department has the following choices: Executive, Admin, Sales, Accounting, IT I want to do a group by on this column, but the ...
0
votes
0answers
330 views

Help with repeating values SharePoint XSLT

I have created a tabbed jquery ui content query webpart with xsl below. My issue as shown in the image is the tabs are repeating itself when the same value is selected twice. I just want one tab ...
0
votes
1answer
280 views

How to group list item by month and year using xslt

I have created XSLT to display all news archive using Content query webpart in sharepoint 2010. Currently the list display the record ordered by Created date ASC. I would like to know how i can ...
0
votes
1answer
201 views

Always show Header&Footer in Content Query WebPart

I want to add an header and a footer to the data displayed by a Content Query wp using SharePoint Designer. I had been following the following tutorials: Link 1 and Link 2. It works fine but the ...
1
vote
1answer
20 views

Apply format when calling template

I am stuck on a syntax issue. I have the following table data <td> <xsl:call-template name="DateDiff"> <xsl:with-param name="firstdate" select="@Current_x0020_POP_x0020_End_x002" ...
0
votes
0answers
55 views

Creating a Table using Vertical Row Items from a Joined Data Source

I am not sure if I worded this correctly at all, but I am in need of assistance with what I am assuming is the XSLT stylesheet for a [sub]joined data view within SharePoint Designer. Essentially, I ...
0
votes
1answer
19 views

XSLT query coming up as false

Any ideas why query results is coming up as false, although values are the same? <xsl:value-of ...
0
votes
0answers
45 views

Compare Column Data in a document library and a list

Any ideas on how I can retrieve a column data in another list and compare it to a document library column, using xslt and content query webpart? e.g. I have a custom list called Categories. I have ...
1
vote
1answer
563 views

How to extract day, month and year from xslt in ItemStyle.xsl?

I have created custom template for CQWP in ItemStyle. My code for template is: <xsl:template name="CustomLofbergs" match="Row[@Style='CustomLofbergs']" mode="itemstyle"> <div ...
0
votes
1answer
75 views

CQWP rendering items like http://site/Lists/item/2_.000

I have a content query webpart, it's rending item url as http://site/Lists/item/2_.000, I have to edit the webpart and remove the value of the Url Path, from the link field, then it will work fine, ...
0
votes
1answer
61 views

2013 CQWP with tables and multiple link

I have an Item Style I created that displays items in more of a table list format rather than a linear one. I am also trying to display the Title link for the item as well as link for a hyperlink ...
0
votes
0answers
95 views

Customising Discussion Boards XSLT: Subject Line

I'm having a play around with customising some SharePoint 2010 discussion boards as per this MSDN thread and am having some trouble locating the code block that Emir mentions. <a ...
0
votes
0answers
165 views

Visualization of KPIs in Sharepoint Online

My client wants to show a number of KPI:s on his Sharepoint Online (2013) site. The data source for them will in this first phase be entered manually. What is the best way to display them in a nice ...
1
vote
1answer
119 views

Calculate Columns Row Total in SharePoint Designer 2010 (Data Form/XSLT Web Part)

I am using Data Form Web Part in SharePoint Designer 2010 (or XSLT Web Part would also work): I have a table like below: ColumnA ColumnB Status Project1 Task1.1 ...
0
votes
1answer
77 views

Filter calendar based on userinput

Im very new to sharepoint and trying to learn, just so you know :)..Im using Foundation, so please try to give answers that applies to Foundation Alright so I made a calendar webpart. I can apply som ...
0
votes
1answer
544 views

Unable to pass xslt variable in the javascript function

I have added an icon before the image title in asset library. I want to pass the name of the current logged in user and the image title in the JavaScript function to add it in other custom list. My ...
0
votes
0answers
244 views

How to remove group fieldname from Listview WebPart

When using a ListView WebPart on a custom list and enable grouping for a view, the name of the group is always displayed as the first entry I tried to find a way to get rid of the “Category:” label ...
0
votes
1answer
129 views

How to display pagination in my XSLT when displaying picture gallery

I have a page named PictureGallery.aspx in which I am displaying a picture gallery as shown in screenshot below. I have applied XSLT on this gallery and displaying it according to how I want it ...
0
votes
1answer
50 views

I want to use a CQWP to show the list’s name description, any ideas?

I’ve been going around in circles a bit with some XSL (as it seems easy to do) and I was wondering if you have a quick fix for this too.   I want to use a CQWP to show the list’s name and ...
2
votes
1answer
330 views

Output Row Items into Two Separate Divs

I am needing some assistance in creating a stylesheet that can output a single row item into two separate DIVs. Essentially, I am trying to turn list items into tabs using jQuery's UI library. The ...
0
votes
1answer
142 views

List view different in SharePoint Designer 2010 vs browser (XSLT question)

I'll open with the background, then ask my question after. Background I am modifying a list view for a SP 2010 list. I use an XSLT template for a field. I select this row, then implement a ...
1
vote
0answers
25 views

Accessing Enterprise Keywords in XSLT

I am trying to put together a custom tag cloud in SharePoint 2010 using Enterprise Keywords as the data source instead of the built-in tags. I've found numerous methods to display and build the tag ...
0
votes
1answer
52 views

multiline view for lists

I have a list that currently looks like this (Excel mockup): I want it to look like this: I tried to be really sneaky and insert </tr><tr> in the XSL but SharePoint just strips it ...
0
votes
0answers
114 views

Custom CQWP XSL Group header from list item Lookup additional fields

I am looking to do a custom list view that I would think I could do through the CQWP. I am looking for an out put something like the following. Category 1 Body Text Body TextBody TextBody ...
0
votes
2answers
54 views

Applying XSL to a field in sandboxed solutions

I have 6 fields that need to be displayed differently in list views. Normally, I would accomplish this by deploying a fldtypes_....xsl file to the hive. The problem here is that I cannot use farm ...
0
votes
1answer
61 views

Custom RadioText Box not Saving to Field

I have a Radio Text Box in a New Form that I want to save the selections to a SharePoint field. I want options to show/hide according to a parameter passed in. For example, if the parameter is ...
0
votes
1answer
115 views

HTML code being displayed instead of resulting output from a column in List

I have a column named "Detail" in my list and its type is "Rich Text". When I insert some item in this list for e.g. "This is a test" and when I display this list on home page of my site using XSLT ...
1
vote
0answers
79 views

Sharepoint 2013 - External List view/edit item in modal dialog

I have an External List, reading from a WCF. When I open an item (view item), I want it to open in a modal dialog. The External Data Source has 'read item' and 'read list' set up from WCF services. ...
1
vote
1answer
100 views

Group template in Header.xsl not working

I have the following template in Header.xsl file: <xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header"> <div class="row"> <div class="columns large-4 ...
1
vote
2answers
336 views

Library name in Content Query Web Part

I am fetching items from all Form libraries in a site collection and displaying name, Document Id (service is enabled in site collection features) and name of the person who submitted the form: Form ...
0
votes
1answer
24 views

Except “Modified” none of the fields are being displayed in XSL

I have a site in which there is a library named "Pages". This is the standard library where all pages that you create comes. Using XSL, I am trying to display page links on my home page. Problem is ...
0
votes
1answer
257 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
1answer
244 views

Adding link to text field with XSLT

So I have a list in SP2007 and I have a column that has links in it. When I try to pull that into a table on the page using XSLT I get some weird output. Here's my code: <xsl:element name="a"> ...
1
vote
1answer
97 views

How to display 2 records per row in XSLT (need count of records)

I have a list named "Links". I want to display them in following format: <tr> <td>Link1</td> <td>Link2</td> </tr> <tr> <td>Link3</td> ...
0
votes
1answer
35 views

“Detail” column not being displayed from List

I have two lists: News Events Both lists contain the following two columns: Title (Single line of text) Detail (Multiple lines, Plain text) I am displaying News on News.aspx page using ...
0
votes
1answer
134 views

SP2010 DVWP Group By Multi-choice lookup list

I currently have a column which is a multi-choice lookup list, I'd like to create a row for each multi-choice items per row and group by the multi-choice column. I've tried using XSLT to format the ...
1
vote
1answer
125 views

Using nested functions in XSLT (function inside function)

I have the following two functions in XSLT 1.0 ShortenDetail RemoveHTML I am trying to first clean "Detail" column using RemoveHTML function and then I want to shorten it using ShortenDetail ...
0
votes
1answer
122 views

Writing Javascript code in XSLT

Can I write Javascript code in XSLT? Basically I will be calling Javascript's document.location.href to check which site is currently opened (English or Arabic). So let's say if English site is ...
0
votes
1answer
241 views

How to use XSLT 2.0 in SharePoint

How do I use XSLT 2.0 in SharePoint? Do I need to install some package on the server to make it work? Or is it available by default, and I just start using it?
1
vote
0answers
76 views

How to show a date in Arabic format?

I have a list which contain a column, "Modified", which contain date and time of an item in the list. When I display that list in my Arabic site then the date is displayed in English format, such ...
1
vote
1answer
115 views

Whether to use same XSLT file for both English and Arabic or separate?

I am making a site in English and Arabic. I am using XSLT to display date but now I have realized that date is not being displayed properly in Arabic website. For that I need to change function in ...
0
votes
1answer
704 views

string-length in XSLT not working

I have written the following code which checks whether the string provided is greater than 1- characters in which case only print the first 10 characters, otherwise print complete string. But I am ...
0
votes
3answers
156 views

How to use resrouce 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
2answers
246 views

Totalling output from column for all entries in a list

SP2010: I need to come up with a total (number) of a column for all entries in a list. For instance: Given a list with entries which can be comprised of apples, oranges, and pears, and their ...
0
votes
0answers
87 views

XSLT Parameter Bindings using XPath Resource Expressions

I'm following the XPath Resource Expressions example to retrieve resources in an XSLT within SharePoint 2010. This is illustrated in the following simplified code: <xsl:template name="fldTypes" ...
3
votes
1answer
467 views

Passing a C# object into an XSLT in SharePoint 2010 without using a custom web part

I have created a custom field type that renders the input as an html link. The xsl transform that creates the link tag should prepend the user input with a base url from an xsl parameter. I want this ...
3
votes
1answer
151 views

XSLT - add icon in GANTT view

In my custom XSLT file, I am able to modify a choice field to swap the text for icons. My choice looks like this; it just checks for the column header name and for the number in parenthesis, then ...