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
2answers
156 views

How do I grab first element using XSLT?

In one of my itemstyles I want the first element in the list to have a bit different look than the other items being displayed. How is it possible to take the first item?
0
votes
1answer
154 views

Help with ContentQueryMain.sxl

I'm creating a CQWP that i want to style without the <ul class="dfwp-list"> ... wrapped around it. I know the html is created via a variable inside OuterTemplate but For this QCWP i dont ...
0
votes
1answer
182 views

render Custom Field Type

I have a Custom Filed Type which is rendered in default view (using a simple XSL) like this StreetName,1,K1,2,1,3,Los Angeles,90210 It's an simple adress. How can I render it like StreetName, nr. 1 ...
0
votes
1answer
790 views

Programmatically assign custom xslt to search result webpart

How can I programmatically assign some custom rendering xslt to a search results webpart using Visual Studio? I'm working with SharePoint 2010
0
votes
1answer
421 views

MOSS ItemStyle.xsl

I have a content query webpart which uses a style within ItemStyle.xsl. How can I extract the URL that the webpart sits within from ItemStyle.xsl? Many Thanks, Nav
0
votes
1answer
986 views

Discussion replies show as 'Dispform.aspx' in search results

Search results show 'dispform.aspx' as the page title on replies to discussion posts. Ideally i'd want it to say 'RE: discussion title'. Does anyone have any idea how to achieve this? EDIT - should ...
0
votes
1answer
19 views

How to put a contorl in the AssetLibrary thumbnail view?

I have an asset library in which I want to put a check box to give user the select all functionality on Asset Library thumbnail view. As a SharePoint beginner I don't know from where to start? I ...
0
votes
2answers
115 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
20 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
201 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 ...
0
votes
1answer
544 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
1answer
142 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 ...
0
votes
1answer
244 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"> ...
0
votes
1answer
241 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?
0
votes
1answer
556 views

Customize xslt listview webpart from xsl

I was asked to show top 3 fields of a custom list in sharepoint through xsltlistview webpart. From the help of the ...
0
votes
2answers
122 views

Search core query webpart and custom xslt with paging or other approach

I have an issue, basically I created a custom web part which inherits from SearchCoreResults. This webpart searches all the possible tasks across WHOLE sharepoint and shows them if they are not ...
0
votes
3answers
318 views

How to distribute People Search Core Results over two columns using XSL

I would be grateful if someone can show me how I would rewrite the following XSL file to produce the following layout (I have removed the Parameter lines in the code to meet the max character ...
0
votes
1answer
138 views

InfoPath 2013 to replace formated SSRS reports of Single SharePoint List items?

New to Infopath. Can we natually and easily use Infopath 2013 to do the following with SharePoint: Format SharePoint List Data on a sharePoint WebPart web page for a single SP List item (determined ...
0
votes
1answer
332 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
71 views

SHarepoint Search 2010 - XSL Code Customization

I need to display the image preview on my search result by replacing the code for the search-icon as below XSL code: img align="absmiddle" src="http://site/image/123.jpg" border="0" ...
0
votes
2answers
1k views

The URL 'shared documents/test.pdf' is invalid but file exists

Background: I followed this article http://www.kraftkennedy.com/blog/bid/101982/Creating-Edit-Item-Forms-for-Document-Libraries-in-SharePoint-Designer-2010 I did not delete any of the fields yet The ...
0
votes
1answer
960 views

How do I View the Raw XML Output of a Content Query Web Part?

I would like to see the Raw XML that is output from a content query web part so that I can develop a custom xsl stylesheet for this. I have the publishing infrastructure enabled. I assume I can do ...
0
votes
2answers
288 views

How to call a c# method in my XSL File

I have two lists Client and Project, each Client has from 0 to N Project stocked in his SPLookupField where multi values are allowed. And I created a new computed Column in the Client List where it ...
0
votes
1answer
207 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...
0
votes
1answer
457 views

Filter a DVWP based on currently logged in user

I have a sharepoint list which lists issues. There are 4 people(not fixed) from separate groups(say A,B,C and D) responsible for each issue. Now I've a requirement according to which, I'll have ...
0
votes
2answers
1k views

SharePoint 2010 - How to link directly to a document through XSLT?

I have exported a content query web part which is looking at a document library. The items appear correctly. The web part was exported to generate a custom appearance. When clicking on the document ...
0
votes
1answer
359 views

How to add a css class to Choice field via XSL

Salvete! I have a list with a Choice field called "Scope". I want to add a class to that field using XSL, but I can't figure out how to get it to change. I want all the items in that field to get ...
0
votes
2answers
603 views

Show custom published date field instead of Last Modified Date in “Date” field in Search results

Currently, my Search Core Results display the following information: Contact us Africa, Least Developed Countries and Special Programmes … Your e-mail (required and never shared) … …  Date: 6/11/2012 ...
0
votes
1answer
207 views

XSLV web part: default xsl templates

Where default xsl templates for xslt view list web part are soterd? As I know I can override any template in custom XSL file, but where can I find all the default templates? For example I need a ...
0
votes
1answer
216 views

XSLT/Webpart View in Custom Javascript text file?

So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
0
votes
3answers
117 views

Why customized title header of the List Views web part does not reflect correctly for other users?

I used the SharePoint Designer 2007 to generate the XSLT Data View and made modification to the column headers. Although I am able to see the new column header's name, other users still are not able ...
0
votes
1answer
633 views

How to Convert Column Field into Hyperlink with xslt

Salvete! In my list, I have a column formatted as a Number, titled, say, "My Number", and the actual markup name of the column is "My_Number". Now, I want to convert the entire column, in any ...
0
votes
1answer
332 views

XSLT with in CQWP leaving html tags open when empty

We have some XSLT when the value of Message is NULL the h2 transforms into a self closing tag. How can we stop this? <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet ...
0
votes
1answer
211 views

Localizing CoreSearchResults Web Part with XSL

We are using custom XSL to transform the search results. There is a couple of labels in the custom search results and these need to be localized when user changes language. This article explains how ...
0
votes
3answers
4k views

SharePoint Foundation 2010 Blog Post XSLT Date Formatting

I'm using SharePoint Foundation 2010 and we've added a blog as a subsite. I want to show a 'recent blog posts' webpart on the main site page, so decided to go down the route of an XML webpart using ...
0
votes
2answers
634 views

DVWP xsl formatting help needed

Need a hand formatting some XSL. Taking a look at an example that Marc Anderson put together for a jquery accordion, I need to tweak the output. I've been playing with this for quite a while and ...
0
votes
1answer
86 views

Additional class rule based on template name

I'm rendering three columns, each containing a CQWP. Each CQWP will utilize a different item template to render the contents, however, I need to add an additional class rule along-side ...
0
votes
1answer
909 views

Using a list view to filter another list view

I have two lists; List A and List B. List B has a lookup column to List A. I want to filter List B based on the value in the field that looks up A. This can of course be done using the default OOTB ...
0
votes
1answer
870 views

Summing a column on a DVWP with 2 levels of grouping with incorrect subtotals

I am working with SharePoint 2007, and have been charged with making a report based on external data (SQL Server). It is a high level look at list of tickets in particular statuses. I decided to go ...
0
votes
1answer
831 views

item style xsl profile picture

I am trying to create custom query in SP2010 called company announcement. I would like to include the profile picture of the author from the sharepoint user profile. Any help would be great! ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
0
votes
2answers
1k views

Remove line break from mulitline text in SharePoint xslt

I am working with SharePoint library and DataView webpart. I have a SharePoint list in which one of the column is a multi-line text. I have inserted a DataView webpart in the designer using the list. ...
0
votes
1answer
313 views

Connect to a view from a CQWP

Is it possible to point the CQWP to a list view? We have implemented 3rd level navigation using subsites and now the subsites can't read the lists in the parent unless we use a content query web part, ...
0
votes
1answer
194 views

How do I use a XSLT file as an e-mail template?

I've seen a few sharepoint developers use XSLT files instead of HTML files as their e-mail templates when they need to send out various items from lists in emails to subscribers / clients. I have ...
0
votes
1answer
675 views

XSLT - Conditional Formatting on Date Column

Is it possible to apply conditional formatting to a date column? I'm trying to set the columns background to red if the date has passed using the following <xsl:if ...
0
votes
1answer
698 views

deploy XSLT list view webpart using “AllUserWebPart” through a feature from the solution package

I am trying to deploy custom pages from feature. I came to know that the webparts(oob or custom) are to be deployed from the elements file using the "AllUserWebPart" wherein we have to include the ...
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 ...
0
votes
1answer
421 views

Dataview XSLT issues creating variables

I've got 2 fields in my list defined as numbers, @TotalSeats with a current value of 10 and @FilledSeats with a current value of 0. I'm trying to use some XSL Variables to handle some display logic ...
0
votes
1answer
534 views

what's the best practice to display tabular / Grid data in Sharepoint 2010?

We can develop a custom control in Visual studio and deploy it as a webpart to use in SP. but I head of some other ways, so can you please list possible ways to achieve this? and what's the pros and ...
0
votes
1answer
409 views

Show document library url in search results

When editing the XSLT for the search results web part I'd like to know when the result represents a document or, for that matter, a list item and then.. I'd like to be able to display a link to the ...