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
127 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
165 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
557 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
701 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
290 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
468 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
355 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
23 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
476 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
133 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
171 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
333 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
435 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
285 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
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
89 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
80 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
178 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
116 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
885 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
214 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
74 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
380 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
311 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
30 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
68 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
60 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
87 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
165 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
154 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
680 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
29 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
361 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
417 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
144 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
223 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
208 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
138 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
368 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
106 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
200 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
257 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
469 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 ...
3
votes
1answer
764 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 ...