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

learn more… | top users | synonyms (1)

2
votes
2answers
266 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
436 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
341 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
22 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
447 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 ...
1
vote
0answers
127 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
70 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
165 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
296 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
403 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
398 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
253 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
21 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
77 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
22 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
66 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
1k 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
88 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
77 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
105 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
253 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
167 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
114 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
1k 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
763 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
207 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
72 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
373 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
296 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
29 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
62 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
2answers
59 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
85 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
140 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
152 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
140 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
641 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
28 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
340 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
386 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
138 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
36 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
206 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
197 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
133 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 ...
1
vote
1answer
344 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
104 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
192 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
1k 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
243 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 ...