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
24 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 ...
0
votes
1answer
18 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: ...
0
votes
0answers
19 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())))) - ...
0
votes
0answers
16 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)" , ...
1
vote
1answer
36 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 ...
1
vote
0answers
35 views

Custom XSL – formatting the date column in ItemStyle.xsl

I have a Content Query Web Part in which I am displaying the data from a Blog sub-site. The Item Style being used is "Title and description". Title displays the title of the document. For the ...
1
vote
0answers
22 views

String manipulation in ItemStyle.xsl file for Content query web part

i have image tag in ItemStyle.xsl file with my custom style template, here i have set image "src" attribute <img height="220px;"> <xsl:attribute name="src"> ...
1
vote
0answers
11 views

Put filter on list column using XSL

I want to customize the design of the web part using XSL. But when I apply the XSL file in XSL Link(Miscellaneous) during Edit Page the default behavior of filter disappears. How can I do this in XSL ...
0
votes
1answer
40 views

Get lookup field with xslt

I have the following code in XSLT and I get the Id of "Evaluacion" lookup field with @EvaluacionIDLookup. I need to get the name of "Evaluacion" but the internal name is "EvalCompeEvaluacion" and if I ...
1
vote
1answer
45 views

Change font size of specific columns

How can the font size of a specific column in a list be changed? The missing design view in SPD2013 does not help with that... I do not have access a style library, because it's apparantly only ...
0
votes
1answer
51 views

XSLT template for custom field not working

I have a custom XSL transform for a Text column and it works fine. Here is markup: <xsl:template name="FieldRef_Text_body" ddwrt:dvt_mode="body" match ="FieldRef" mode="Text_body"> ...
2
votes
0answers
19 views

XSLT Force Time Zone

Using XSLT, is there a way to show the time for a specific time-zone? e.g. Resolved: <xsl:value-of select="ddwrt:FormatDate(@ResolvedDate, 3081, 2, [TimeZone])"/>
2
votes
1answer
91 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
33 views

Pull Data Into Individual Web Part

I know what I would like to do, but I do not know how to search to find the best solution. I have a list of URLs on a list that link to stories. I do not want the user to see the entire list of ...
1
vote
2answers
163 views

How to get the List url in Content Query Web part?

I'm using a content query web part to display data from lists which are located in different subsites. So far I've been able to display items, but one of the requirements is that I've to display the ...
0
votes
2answers
25 views

Change the text of a td based on its content in SharePoint 2013 (XSLT)

I have web part showing a data view, in in which of the columns get its value like this: <td> <xsl:value-of select="@Closing_x0020_Date"/> </td> This works just fine, but now the ...
0
votes
1answer
30 views

How can I show/access XSLT variable in Content Query web Part pane?

I am using Content Query WebPart to display one item only on home page from the Posts list. I need to display the data based on three conditions: 1) if "Display on home page" check box is checked 2) ...
0
votes
1answer
97 views

How to get current user email id or login name in XSLT?

I am using office 365, and trying to get current user email id or login name in XSLT. A similar question is asked here. How can I do?
1
vote
0answers
40 views

CQWP XSLT ddwrt:Today() return PST time zone instead of Local time zone

I am working on CQWP webpart in Office 365(SharePoint Online). I have to get today's date for date comparison. I have use xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" for ...
0
votes
1answer
172 views

How to check if xslt value is empty

I am creating a link on a custom display form in SP2013 on premise. I can create a working link fine using: <xsl:element name="a"> <xsl:attribute name="href"> <xsl:value-of ...
0
votes
0answers
31 views

How to access another list from within content query web part?

I have got two lists: ListA which is a Posts list and ListB which is of type Custom list. I am using content query web part to access ListA which has a lookup to ListB. So far everything is fine, but ...
0
votes
0answers
25 views

How to get previous sibling in ItemStyle.xsl

I am using SharePoint 2010 and am trying to style a content query web part with a custom layout using ItemStyle.xsl. I have it to the point where I can apply the style and have output displayed on the ...
0
votes
1answer
32 views

Search Result - xslt - url

I have following in XLST to display URL <td class="ms-vb" style="width: 257px"> <a href="{url}"> <xsl:value-of select="url"/> </a> </td> ...
0
votes
0answers
22 views

load next data using content query web part

I am using CQWP to display some items from a custom list. So far it is working fine, but now I would like to add a button where the user can click to load the next batch of data. Like a sort of paging ...
0
votes
0answers
51 views

Remove XSL Rendering from the field schema?

I have created custom field inherited from SPLookupField. After the page is loaded (list view that contains my field), "var WPQ2SchemaData" (some client side schema for all the fields) contains ...
0
votes
1answer
38 views

Changing XSL View not working

I have on my site a Business Data Connectivity list with a field which equals some urls. I found some internet links to change the url text to the image which the text points on. But it's not ...
0
votes
0answers
35 views

Javascript redirect page on load with XSL value

I am trying to get a display form to auto redirect to another page. Currently I am using location.replace() which works fine except that each item redirects to another item in a second list. The ID ...
2
votes
1answer
106 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
0answers
31 views

Get only published pages from pages library in CQWP

I am working on CQWP web part and all weorks fine except one thing. In my CQWP webpart, it rollup all pages of specific content type and display in CQWP webpart. But problem is that it also return ...
2
votes
2answers
50 views

Get the location of a document inside a document library using xslt

I have a requirement where I need to get the location of a document(Library Name/Folder Name/SubFolder Name) inside a document library using XSLT. Can anyone help me? For example i have ...
0
votes
0answers
96 views

Display attachment filename of list item in a page

I need to display the attachment filename only. I would like to display like this [filename]. It is sharepoint 2013 environment. Thanks!
0
votes
1answer
86 views

How to save attachments filename into a field?

I am trying to create a URL/ Link with current item attachment filename. My example List name: MyList ItemID : 100 LinkField: NULL attachments: abc.csv & abv.doc I would like create a ...
1
vote
2answers
78 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
0answers
73 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 ...
0
votes
0answers
20 views

Compute columns in SharePoint Designer 2010 AllItems.aspx xslt view

Is that possible to implement following by xsl? I have custom list with 3 columns (LinkTitle, Location, Location2). If column Location2 is empty, it should take values from Location column. ...
0
votes
0answers
19 views

DVWP import error

I have made a reusable DVWP WebPart like below. Their are two parameters that let me specify the ListName and WebURL. I am successfully able to import it on a page on a site that has a list called ...
0
votes
0answers
12 views

use complicated values in ParameterBinding's in a DVWP

I know I can do things like: <ParameterBinding Name="SomeParamaterName" DefaultValue="SomeValue"/> But that only allows the user to specify simple strings as values. I want to be able to ...
0
votes
0answers
11 views

ListUrlDir_FALSE not pointing to the correct URL in DVWP when WebURL specified for SelectCommand

I have a question about the ListUrlDir_FALSE XSL paramater in DVWPs. The Setup I have a DVWP with the following in my DataSources configuration: <SelectParameters> ...
0
votes
0answers
15 views

Dynamic XPath Filter?

I'm working on a project that requires a dynamic filter. I have a recursive template that builds the filter structure. Here's the code in that template. <xsl:choose> ...
2
votes
1answer
116 views

Can I output a date in French from an XSL file?

In my XSL file, I set my date like this: <xsl:value-of select="ddwrt:FormatDate(@Date, 2057, 3)" /> This gives me an English date like 07 April 2015. Can I get this date in French?
1
vote
1answer
58 views

XSLT and CQWP : EventDate is always empty

I am trying to create an xsl template for displaying a calendar and am having an issue pulling the event date out of the calendar items. Here is what I have: <xsl:template name="DateCustomStyle" ...
0
votes
0answers
31 views

How do I get the unique values for each group in a grouped list in SP 2010?

I have a Display Item Form which is set up to be a basic table. It is grouped by a field called DateCreated and has both headers and footers enabled. In this list there is a field called CID which ...
0
votes
0answers
55 views

Item Attachment URL from CQWP

My root site has a CQWP that is pulling back items with content type called "Spotlight". These Spotlight lists sit on a few children sites. The idea is to give our users the ability to post something ...
0
votes
0answers
36 views

Is it possible to use custom XSL and still use the “Display search box” option"?

I have found that if I specify any custom XSL on a ListView web part, it is no longer possible to see the "File a file" search box shown below: When the value of "XSL Link" is blank, I can see the ...
0
votes
2answers
309 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
0answers
18 views

XSL disable-output-string conflict with substring

I'm using CQWP and itemstyle to display list item content, for any reason it is not showing any result when substring() is use. Any idea? <xsl:value-of select="substring(@Description,0,35)" ...
2
votes
0answers
80 views

Extremely complicated XSLT for a huge list of information

Which, I realize, is not the greatest title in the world, but I'm not sure what else to call this. So, the list data looks a little like this: More or less. Basically, a set of products are ...
0
votes
0answers
137 views

How to work with the Content Query Web Part (CQWP) & XSLT

I have been using SharePoint for a few years now, but limit of my skills include anything I can do in the browser and some stuff using Designer (Branding, Workflows). I know how to use the CQWP to ...
0
votes
1answer
37 views

Why won't list view display when <xsl:if> element is used?

I have a list of contacts in SharePoint 2010 that I want to display in 3 different tables based on a TablePos attribute using a custom stylesheet. The TablePos attribute can have a value of Left, ...
0
votes
1answer
26 views

Sharepoint 2010 XSLT Customization Lost on Save

I have a page with a XsltListViewWebPart. That is displaying a list with People objects (Person, Department, Email, Phone). I am trying to override the Email to be an actual mailto instead of loading ...