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

How to edit xsl:value-of tag in SharePoint designer 2013

In SharePoint Designer 2010 it is possible to click on a web part field item in desin view in order to then edit the <xsl:value-of> tag. Does anyone know how to do the same thing (edit the <...
0
votes
1answer
16 views

Content query web part on sharepoint online does not pull some values

I have successfully implemented the following instructions on sharepoint on premise to create a CQWP of a blog roll (a subsite) http://erikswenson.blogspot.co.uk/2010/03/sharepoint-2010-content-query-...
0
votes
1answer
27 views

Color-Code Core Search Results based on Result Formatting

SharePoint 2010 I'm trying to color-code the search results of a Core Results web part based on the color of the title of the result. More info: This search is set with a scope to only find results ...
3
votes
1answer
671 views

How to get current date in xsl in XML Viewer WebPart?

I am using SharePoint 2013. I am using the XML Viewer WebPart. In this webpart I have some xml and a write xsl in the xsl editor. Everything is working fine. I would like to filter te data on the ...
1
vote
1answer
1k views

SharePoint 2010 Listview creates “Unable to display…” error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
0
votes
2answers
12 views

CQWP Search Result shows incorrect Item Link URL

Environment: SharePoint 2013 I`m using Gridview to display CQWP search data in Grid format with Link to the Title of the Item. Using XSLT Template, I have the following code to have ITEM link ...
0
votes
1answer
1k 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
2answers
673 views

How do I use a custom XSL style sheet with a Content Query Web Part without SharePoint Designer?

I'm trying to present data from a list in a more beautiful fashion using a Content Query Web Part and an XSL style sheet. I found some instructions on this page, which seem pretty simple, but they ...
0
votes
1answer
20 views

Custom NewForm or EditForm

If I use SharePoint 2013 Designer to create a new form, e.g., NewForm1 or EditForm1, and then open it up in (in the Designer) I can further modify the XSL in the DataFormWebPart that will render the ...
0
votes
1answer
648 views

XSLT template conditional statement on lookup fields - Optimization help

I have a block of xslt that examines if the current node and performs some calculations using different lookup fields if a certain field matches a certain text string. It works as expected and is ...
0
votes
1answer
22 views

How to add days to ddwrt:today() in Xslt?

<xsl:value-of select="ddwrt:Today()"> I would like to add 7 days to the above code. please help
0
votes
1answer
1k 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, salary, ...
1
vote
1answer
774 views

How to dynamically pass values such as images and multiline texts to a wiki page which needs to be rendered in XSLT

I have a requirement where I have a list which contains 4 columns named 1.Title 2.Image 3.Short Description 4.Full Description. Now my requirement is that I need to display this list in a ...
0
votes
1answer
145 views

get the current lang in xsl

I'd like to know if it's possible in SharePoint2010 to get the selected language. in js you can have it with lcid = SP.Res.lcid; now i'd like to have the value in the XSL of the refinement panel ...
2
votes
0answers
97 views

get the current lang in xslt

I'm new with XSLT and have a WebPart refiner. In the XSLT, i've the param at the beginning: CurrentLcid <xsl:param name="CurrentLcid"></xsl:param> When i test the value, the value is ...
1
vote
3answers
39 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 ...
0
votes
3answers
588 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
0answers
18 views

Changed item style doesn't work as planned

I am looking for a suggestion on what to do about this itemstyle.xsl that I wrote. To give a backstory I am trying to make a tabbed webpart that is dynamic (meaning it feeds from info from a list ...
1
vote
0answers
29 views

InfoPath 2013 Conversion to PDF or DOCX

I have an InfoPath 2013 Form. Once the form is completed, on Button click, I want to generate either a PDF or a Word Document. I have done extensive research. SP Designer Workflow works for SP2010 ...
0
votes
2answers
34 views

XSLT web parts functioning after migrating to SharePoint 2013

We are in the process of migrating and upgrading a client's SharePoint 2010 Intranet portal to SharePoint 2013. Our client has many custom web parts built in XSLT. These are basically Content Query ...
1
vote
2answers
844 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
25 views

Adding filter to the dvwp's joined subview using XSL

I have this one problem in adding filter to the joined subview's header in my dvwp. To begin with (from what i understood), the template that handles the dvwp headers is as below <xsl:template ...
5
votes
2answers
591 views

Can the list view's XslLink property contain a web address?

Some Background... I have created a custom blog web template (which I started by copying and pasting the OOTB blog site definition) and in order to customize the way blog posts are displayed, I have ...
0
votes
0answers
21 views

Difference between dsQueryResponse and xpath

I noticed in the XSL of the Sharepoint page that im currently working on, i saw these 2 <xsl:variable name="Source1" select="/dsQueryResponse/listName1/Rows/Row"/> and <xsl:variable name="...
0
votes
0answers
30 views

List/library view web parts can not be viewed by anonymous users if XSL is applied

The institution I work for has their public-facing website built in SharePoint 2010. We are working on upgrading it to 2013. On our 2013 test server I have an issue where anonymous users can't see ...
0
votes
1answer
2k views

content query webpart itemstyle wrapped by group style in XSLT

I have the following markup: <ul id="slider"> <!-- slider item --> <li> ... </li> <!-- end of slider item --> </ul> and I have ...
1
vote
2answers
52 views

Format a date from itemStyle.xml file

I want to print date like Tuesday,17 February,2015 I tried somethings that print dates like Tuesday,17 February 2015 Tuesday, February 17, 2015 What I tried is: How can I print date like ...
0
votes
0answers
19 views

Where does seattle.master load main.xsl/internal.xsl

This week I ran into an issue on my internal environment recently after it was 'upgraded' to SharePoint 2013 but also had a custom master page applied(I don't control any of this). I had pages with ...
0
votes
0answers
10 views

Setting up variable for 2nd list in DVWP

Say if i have a DVWP, made from a linked data source of 3 SP lists (call it A, B and C), and in the XSL codes, on the header part, i have the variable parameters for list A configured in it <xsl:...
0
votes
0answers
36 views

Get Attachment URL via ItemTemplate XSLT

I am using a CQWP to query a list. This list has attachments that I want to display. I have created a custom xsl:template in ItemStyle.xsl, but I can't figure out how to get an attachment's URL. I ...
7
votes
5answers
9k views

How to display lookup additional field in display form?

I have two lists: Projects and Tasks In the Tasks list, I have created a lookup field titled ProjectID which targets ID filed from the Projects list. Also, I have set for this field to display an ...
2
votes
3answers
202 views

Paging code to navigate to previous list item in DataFormWebPart

I'm trying to create a carousel presentation of list items as "slides" using a DataFormWebPart. I've set the Data View's paging to Display sets of 1 item. I've pulled as much of the mucky tables from ...
0
votes
2answers
43 views

What is the proper way to escape an equals ( “=” ) in a custom form with xslt?

I have a display form which has an anchor tag in a table cell somewhere like the following: <a href="../../Lists/SomeFilteredListView?FilterField1=field1&FilterValue1={@field1}"> ...
3
votes
1answer
1k views

Edit date format of Blog post and comments

I'm trying to change the date format of blog posts and comments in Post.aspx, but having trouble. What I want to do is change the $thisNode/@PublishedDate value with $thisNode/@PublishedDate....
1
vote
1answer
4k 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 ...
1
vote
2answers
23 views

Missing xslt webpart viewer

I am looking to add an Xslt viewer to the homepage of my site but cannot find it in any of the available web part categories Do I need to enable a specific site feature to make it available?
0
votes
1answer
28 views

How to hide “Name” column from Preview Pane style

I'm trying to hide the Name column from the preview pane view in a form library. What I've done in my view on SPD is change the field used in the view list (the area you hover over) to this: &...
0
votes
0answers
14 views

How to hide CQWP's title when it returns no result?

I'm working on SP2013 on site, and i've had some troubles whith the CQWP. Thanks to @Trenton Mak (When a CQWP returns no results, zones are shifted), my zones are not shifted anymore. But now, i ...
1
vote
1answer
129 views

Customizing my discussion board list (remove filters & remove "Best Reply” link) cannot find a suitable way to do this

I spend the whole day trying to do things which seems straight forward , but cannot find a suitable solution. Now I added a discussion board app, and I though that I will have regular list views found ...
2
votes
1answer
57 views

Present/show list items in vertical view

I am using SharePoint 2013. SharePoint list has 20+ columns but only two items. And only two items will be in future, items will not be changed or edited. I want to show/present that list items in ...
0
votes
0answers
26 views

Getting a value of attachment in different List in ItemStyle.xsl

Is it possible to get and display from a url from an attachment, from an different list but in the same site? I have two lists in same site: Company Details (CD) - Includes attachment of company logo ...
1
vote
0answers
179 views

Getting hyperlink URL and description in custom XSLT with Content Query Web part

I'm having trouble getting the URL and description to show as separate items in SharePoint 2013. I'm trying to display the description as the text of the Link and the URL as the HREF value in the a ...
1
vote
2answers
230 views

How to change list column title using xsl in sharepoint 2013?

I'm creating custom field type - lets name it 'MyCustomType'. I need to change its column title in List View. I tried to use xslt-transform in my fldtypes_MyCustomType.xsl with no luck - nothing ...
0
votes
1answer
758 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> <xsl:call-...
0
votes
1answer
40 views

fldtypes.xsl customization not working?

I have edited fldtypes.xsl directly and iisreset. But there seems not changes. (This is my experimental implementation. I just want to make it clear how the fldtypes.xsl works) Here is my changes: ...
3
votes
1answer
196 views

Add Rich text column to the Blog Post comment (SharePoint 2013)

I am trying to customize the Blog post comments in SharePoint 2013 by adding a new custom column using RichText (called RTBody) and hiding the old one called Body in several pages, such as Post.aspx ...
0
votes
0answers
35 views

Exclude non working days between two dates XSLT 1.0

I have a XSL formula here that calculates the age of created item: <xsl:value-of select="(number(ddwrt:DateTimeTick(ddwrt:GenDisplayName(string(ddwrt:Today())))) - number(ddwrt:DateTimeTick(ddwrt:...
0
votes
0answers
22 views

Show Author.Picture in custom XSL

I have the requirement to show the Author Picture in posts using XSL. Can any one please share the code for that? I have already changed the Created By column to the value "Person (with picture)" , ...
4
votes
1answer
913 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 ...
1
vote
1answer
56 views

CQWP error:- The web part references an untrusted XSL file

I've created Announcement CQWP. I've deploy wsp on local site root http://pc99 its working fine. but when I'm trying to use it on site http://pc99/sites/Test/Pages/Home.aspx It shows error: The ...