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

XSL Template Modification Help

Help! I have a Projects list which has a person/group column named Engineers. It's a multi-select column so in some entries I can have 2+ engineer names. The client wants the Engineers view to ...
1
vote
0answers
222 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 ...
0
votes
0answers
56 views

SharePoint 2013 XSLTListFormWebPart not rendering mobile friendly controls

I am in the process of building a SharePoint 2013 solution which is targeted both at desktop as well as mobile devices. I have a separate data input form for mobile device which I have created by ...
0
votes
0answers
28 views

SPFieldChoice not showing correctly in view

We have an SPFieldChoice "ApprovalStatus" and are showing it in a view through the following xslt: <td> <xsl:value-of select="@ApprovalStatus"/> </td> The thing is that it ...
4
votes
3answers
604 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
918 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 ...
0
votes
0answers
45 views

Filtering a DVWP while using XSL:Import

I've got a DVWP in SharePoint 2010 that shows the details of a single item. The DVWP chooses the correct item to display based on the current site URL (relative path). Everything works great, but the ...
0
votes
0answers
26 views

Get a column data from an XSL and insert it and synchronize it in a SharePoint Column

I would like to get data from a XSL column and display it in a SharePoint column inside of a list. How can I do this ? and after, if someone add more items into the XSL table , how can I update the ...
1
vote
2answers
76 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
97 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
52 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
695 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
48 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
772 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
101 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
134 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
175 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
618 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
783 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
330 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
486 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
370 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
25 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
513 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
1answer
154 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
0answers
178 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
400 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
1answer
487 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
317 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
22 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
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 ...
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
92 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
82 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 ...
1
vote
1answer
191 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
123 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
1k 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
218 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
77 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
406 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
337 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
32 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
71 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
61 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
94 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
151 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
181 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
165 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
731 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 ...