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

Display count of items in each group by in the header using a data view

I am doing a group by in my data view web part and would like to be able to show the item count of each group in the header. There is an option you can use from the data view Sort & Group options ...
1
vote
1answer
712 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 ...
4
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
0
votes
0answers
14 views

Why does (XSLT-Function) generate-id() not work in SharePoint 2013 Content by Search WebPart?

Is there a reason that some XSL 1.0 functions do not work in SharePoint 2013 Content by Search Web Part? I recently came across the problem that a nested <xsl:for-each> does not work and neither ...
0
votes
2answers
39 views

CQWP: How to count rows per category

I have a CQWP that returns all draft items in a single library, grouped by "Modified by." I would like to display a count of draft items next to each user's name. I know how to edit Header.xsl, and ...
2
votes
1answer
369 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 customise the way blog posts are displayed, I have ...
1
vote
1answer
342 views

xslt dropdown & spservice.spcascadedropdown

I have a xslt list form view. I have 3 drop down on the form - Area , Geo Market , Country for which i want to implement cascading functionality. Data saved in list is of type Single line of ...
6
votes
1answer
97 views

Current user login name in XSLT

I'm trying to define a display template for one of my site columns by using XSLT. One of the things I would need is the loginname (DOMAIN\user) of the currently logged in user. There's one way ...
0
votes
1answer
21 views

What is the meaning of this XSLT?

I want to know the meaning of this following XSLT Code shown below... <xsl:choose> <xsl:when test="(substring-before(substring-after(@Department,'=*&quot;&gt;'),'&lt;')) = ...
2
votes
2answers
641 views

Site collection relative url in XSLT search or by JavaScript

I have the following question: I'm modifying the XSLT of the search, so it is represented differently etc etc .. in this occasion I also need to get a relative site collection url. In managed ...
0
votes
2answers
75 views

how to deploy a page with XML in Visual Studio that having Friendly Url?

how to deploy a page with XML in Visual Studio that having Friendly Url? Does anyone knows how can I do that? example what not have Friendly Url <File Path="Home.aspx" Url="Home.aspx" ...
0
votes
1answer
49 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"> ...
0
votes
1answer
611 views

Missing some custom fields on Content Query

I need to display my custom list rows using a custom XSLT, so I have configured a CQWP to display these rows from this specific list. Although, even the Order by dropdown list displaying all list ...
1
vote
1answer
961 views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
0
votes
1answer
445 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
0answers
33 views

SP2013 - Static item in Content Query Web Part?

On our main page of our SharePoint implementation, we have a CQWP called Spotlight. It's displayed as a banner slider with paging buttons on it. It will only ever show 7 of the most recent Spotlights. ...
1
vote
1answer
329 views

“Group by” with XSLT in Search Core Results web part

I have a bit of difficulty making it possible to group by the results in search core results webpart. I have a default xslt of that webpart and from there i would like to group the results by the ...
3
votes
1answer
211 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 ...
0
votes
0answers
14 views

Change $CurrentLcid in XSL

In the XSL of my refinement panel, I've this: <xsl:param name="CurrentLcid"></xsl:param> Unfortunately the value never changes when I change my selected language. Do you have a ...
0
votes
0answers
27 views

CQWP blog roll Item Style for blog posts how to put a field in bold in xsl? or format others?

I followed this popular guide to do a CQWP of one or more blogs. http://erikswenson.blogspot.co.uk/2010/03/sharepoint-2010-content-query-for-blog.html Everything works, except I would like to know ...
0
votes
0answers
37 views

XSLT - Field Value shows in designer, but all field values does not render in browser except @Title

SharePoint 2010 I have project I'm working with, using Accordion within EasyTabs. Everything works fine, but when the page is rendered in the browser fields drop off. Except for the @Title field. ...
2
votes
3answers
62 views

XSLT: Set the background colour of cell when the task is overdue

I currently have this XSLT added to my list (snippet): ... <xsl:param name="Today">CurrentDate</xsl:param> <xsl:template name="FieldRef_printTableCell_EcbAllowed.Due_x0020_Date0" ...
0
votes
0answers
41 views

dispex SharePoint.OpenDocuments.3 works for PDF but not Office docs?

I have the folllowing in my XSL for a (SharePoint 2010) content query webpart: < A onfocus="OnLink(this)" HREF="{$ItemUrl}" onmousedown="return ...
1
vote
0answers
32 views

get the current lang in xslt

I'm new with xslt and have a web part 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 ...
0
votes
0answers
16 views

XML document in an XSL

I have an XML document located in the style library inside a folder "Traduction". I have a refinement web part and in the xsl, I'm trying to load this document, unsuccesfully. Here is my XML ...
1
vote
1answer
51 views

CQWP ItemStyle Divs are being nested

In short, sibling divs coded in my custom ItemStyle for use with a CQWP are being nested into each other. Stripped down to the essential structure I have <xsl:template ...
0
votes
2answers
39 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 ...
0
votes
1answer
302 views

Sharepoint 2010 grouped xsltlistview with custom XSL does not show items when initial settings for group is 'fold'

Following problem : I have a xsltListView (auto created on a publishing site). I have editted the default view and copied the stylesheet to a new .xsl file and placed it into the style lybrary. On ...
0
votes
0answers
16 views

Email link in XSL with custom body

I have one requirement of sending an link through email by just opening browser with custom html. So for that I have added following in my xsl file, refer my fiddle: ...
0
votes
2answers
65 views

SharePoint List View Web Part Column Filtering options

By default, filtering options for each column in a SharePoint List View Web Part are sorted alphabetically. Meaning, if there is a list and three list items with the following titles A, B & C, ...
0
votes
1answer
76 views

How to create my own xml viewer webpart programmatically?

I am using sharepoint 2013. I have used the xml viewer webpart but I have to much trouble and limitations. I would like to build a visual webpart in Visual Studio. In this webpart I would like to read ...
1
vote
1answer
91 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
0answers
29 views

How to split people search result into 2 columns?

I followed this discussion. The suggested post by David works only if the sort by is not present. If I have sort in the xslt or if I use the built in sort functionality after the page is rendered then ...
3
votes
2answers
853 views

Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl

I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples. I want to customise the output of the Content Query Web Part to ...
0
votes
1answer
65 views

Item Style XSL - Showing Read More Link When Content Is Cut Off

I have managed to create an ItemStyle template for my CQWP. It pulls from various announcements. I have set the character limit to 400 and placed a link at the end where a user can click to view the ...
1
vote
0answers
21 views

how to display video through xslt

How to show video through xslt? I have video library uploaded with few videos and description of it. I have to show description and respective video in jquery acccordian format on the page.
2
votes
1answer
91 views

Modify List Header Utilizing XSL

I am working with SharePoint 2013 and SharePoint Designer 2010 (and I'm a newbie to SharePoint) striving to modify a list header. Since this is a corporate site there are a lot of limitations, so ...
0
votes
1answer
327 views

Issue checking for contains in CQWP, comparing against Managed Metadata field

I have a unique scenario where I need to compare values for conditional formatting of my Content Query Web Part. In most circumstances this is pretty easy, and we thought this was working for the most ...
3
votes
1answer
93 views

XSLT conditional statements

I have a simple list with 3 columns: Title, URL, Color. The Color column is a choose column with two options: yellow or lightgreen. I am using the XSLT List View Web Part . I am trying to create an ...
4
votes
1answer
184 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of ...
0
votes
0answers
18 views

ContentQueryWebpart does not render file names with dots on it

I have a content query webpart which shows the last modified documents from a site, through all document libraries. See screenshot here: http://screencast.com/t/pKCyqGgT I am assuming the problem ...
0
votes
0answers
50 views

Sum of a calculation in each row in a SharePoint DataView

Using the procedure at https://www.nothingbutsharepoint.com/sites/eusp/Pages/Calculate-Days-between-Two-SharePoint-List-Dates-in-XSL-Using-ddwrtDateTimeTick.aspx, i was able to calculate the differece ...
0
votes
0answers
92 views

Errors Implementing jQuery UI Tabs in a Sub-Joined Data View

I am trying to implement jQuery UI tabs onto my site using a subjoined data view, but I am experiencing some issues. I believe it has to do with my XSL markup, but have been hitting my head against a ...
0
votes
0answers
87 views

Problem in displaying seconds from a SharePoint datetime column using XSL

I have a SharePoint 2013 datetime column. By default it would display as MM/dd/YYYY HH:mm TT format (1/25/2010 6:55 PM). I'm using an external XSL file (as I can't use calculated column) to format ...
1
vote
0answers
36 views

CQWP grouping with custom order

Can anyone show me how to customise the order that the CQWP 'Groups By", We group Project Sites by Project Phases(from each project site List) and that's all good- but we need them in a specific ...
0
votes
1answer
305 views

DVWP MaximumRows ParameterBinding not working

Is it possible to use ParamaterBinding for MaximumRows? The following does not work. Following set in SelectParmaters <webpartpages:DataFormParameter ParameterKey="MaximumRows" ...
0
votes
1answer
37 views

Output all comment versions within CQWP

I currently have a list which contains a text field for comments, versioning is enabled and the comments field is set to "Append Changes to Existing Text", so that we can capture and maintain multiple ...
0
votes
0answers
15 views

xml data in sharepoint

how to get raw xml data generated in sharepoint? I got one xml template for it but dont know how to use it. http://msdn.microsoft.com/en-us/library/office/cc760536(v=office.12).aspx ...
0
votes
0answers
51 views

Change calculated column to xsl:value-of select

I work with a calculated column which depends on the title column. Now i want to change the cascading title inot the filename. This should be done with the SP designer and a customization of the xslt ...
2
votes
2answers
1k views

How to display document approval status in a content query web part?

I have this XSLT to display document title and approval status <xsl:template name="DocumentStatus" match="Row[@Style='DocumentStatus']" mode="itemstyle"> <xsl:variable ...