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
1answer
26 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
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
209 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
358 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 ...
0
votes
1answer
843 views

xsltlistview overiding the column headings using Xsl Link

I have a listview webpart that used specific columns. Changing the names of the columns is not an option. Our users are insisting that the heading for these columns be updated, so I am thinking of ...
0
votes
2answers
508 views

How to have a row number in a custom webpart with pagination

I have a custom list and i would like to have a row number. I did use the <xsl:number/>and that worked but when i click on the next page of the list the number resets itself back to 1 again. Is ...
0
votes
1answer
1k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
0
votes
1answer
599 views

DataFormWebPart - Implement cascading dropdown

I have new form modified via xslt. So i have DataFormWebpart. I want to implement cascading drop down for 2 of my lookup field(Area and Country). Can anyone help on it. I am aware of the ...
0
votes
1answer
471 views

Converting datetime column value to server datetime value

I am trying to build a calendar with date time columns. My SP 2007 server is in US and I am trying to use this site in India. My server returns the EventDate column value in India format. I want to ...
0
votes
2answers
742 views

Remove Duplicates in DVWP using JQuery

I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...
0
votes
2answers
159 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
157 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
810 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
424 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
1k 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
2answers
40 views

Get both ID and Name from a field of type 'Person or Group' in a Content Query web part

I posted this question on StackOverflow a couple of weeks ago, but since it hasn't got very much attention I'm posting it here instead. I'm building a Content Query Web Part that is supposed to ...
0
votes
1answer
103 views

Can't Design Content Query Web Part JavaScript News Ticker

I created a news list in SharePoint 2010 that shows news on the home page just like a news ticker with JavaScript. I used a content query web part to show news. This article is so useful, but doesn't ...
0
votes
1answer
98 views

Displaying Field Contents in JQuery UI Tooltip

In SPD 2010 I have created an aspx page, in which I have inserted an Empty Data View. I then selected the list, and then fields which are shown on the page. I want to incorporate a "tooltip" popup ...
0
votes
1answer
128 views

Get Current Custom Sharepoint List Item Row Number for XSLT

... <xsl:apply-templates select='Rows/Row'/> </xsl:template> <xsl:template match='Row'> <li data-target="#carousel-example-generic" ...
0
votes
1answer
27 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
341 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
2answers
416 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
507 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" ...
0
votes
1answer
22 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
225 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
841 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
245 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
338 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
2answers
82 views

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

This is a follow up to How to distribute People Search Core Results over two columns using XSL, When I use the suggested code block in that article <xsl:for-each ...
0
votes
1answer
651 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
128 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
359 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
165 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
365 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
75 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
2k 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
290 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 ...
0
votes
1answer
1k 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
315 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
240 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
611 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
2k 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
417 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
664 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
226 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
232 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
118 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
800 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
341 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 ...