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

XSLT Template to Match Multiple FieldRefs

How can I match on multiple fieldrefs? I've made a copy of fldtypes.xsl in the /_layouts/xsl/ directory where I can work with fields in my lists (I have to restart the web application to get it to ...
0
votes
1answer
444 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"> ...
1
vote
1answer
160 views

How to display 2 records per row in XSLT (need count of records)

I have a list named "Links". I want to display them in following format: <tr> <td>Link1</td> <td>Link2</td> </tr> <tr> <td>Link3</td> ...
0
votes
1answer
36 views

“Detail” column not being displayed from List

I have two lists: News Events Both lists contain the following two columns: Title (Single line of text) Detail (Multiple lines, Plain text) I am displaying News on News.aspx page using ...
0
votes
1answer
266 views

SP2010 DVWP Group By Multi-choice lookup list

I currently have a column which is a multi-choice lookup list, I'd like to create a row for each multi-choice items per row and group by the multi-choice column. I've tried using XSLT to format the ...
1
vote
1answer
223 views

Using nested functions in XSLT (function inside function)

I have the following two functions in XSLT 1.0 ShortenDetail RemoveHTML I am trying to first clean "Detail" column using RemoveHTML function and then I want to shorten it using ShortenDetail ...
0
votes
1answer
149 views

Writing Javascript code in XSLT

Can I write Javascript code in XSLT? Basically I will be calling Javascript's document.location.href to check which site is currently opened (English or Arabic). So let's say if English site is ...
1
vote
1answer
405 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?
1
vote
0answers
112 views

How to show a date in Arabic format?

I have a list which contain a column, "Modified", which contain date and time of an item in the list. When I display that list in my Arabic site then the date is displayed in English format, such ...
1
vote
1answer
216 views

Whether to use same XSLT file for both English and Arabic or separate?

I am making a site in English and Arabic. I am using XSLT to display date but now I have realized that date is not being displayed properly in Arabic website. For that I need to change function in ...
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
278 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
534 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 ...
3
votes
1answer
789 views

Passing a C# object into an XSLT in SharePoint 2010 without using a custom web part

I have created a custom field type that renders the input as an html link. The xsl transform that creates the link tag should prepend the user input with a base url from an xsl parameter. I want this ...
3
votes
1answer
217 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
1answer
201 views

Toggling Data View Web Part Paging at Runtime

I'm using partial text filters that push query string parameters to the Data View Web Part. The DVWP is using an XSLT filter that refers to the values supplied by the textboxes. The challenge that I'm ...
1
vote
0answers
161 views

Failed to apply XSLT to the content

I am using "XML Viewer" webpart to display some data from another website. I have applied XSL on it and it works fine on my VM. But when I moved the site to development server, it showed error message ...
1
vote
0answers
351 views

DataFormWebPart and wierd exception

I have web page with four DataFormWebParts that are presenting data from SPList. DataFormWebPart layupt is defined with Xslt. On SharePoint 2007 everything works correctly. When I migrated site ...
0
votes
2answers
98 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
2answers
116 views

xsl stylesheet: what's wrong with xpath?

I am trying to style some results returned from the search webservice in 2010 with this stylesheet: <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" ...
0
votes
1answer
133 views

How to structure my sharepoint 2007 xslt to sum

I'm having a little trouble with some syntax for my xslt statement on a custom sharepoint page, any help would be much appricated. I've summed a column from a list and it displays correctly (code ...
0
votes
1answer
309 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
1answer
879 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 ...
1
vote
1answer
61 views

How to Modify the Author name in Blog Categories (categories.aspx)?

I have copied blog.xsl and created Blogwrittenby.xsl to override the author name and display default author name. It works well for all other places except when we see categories. Any help would be ...
0
votes
2answers
467 views

Calling multi argument Javascript function in XSLT

I am working on a data view web part. I am using Java script for some of my functioning and having trouble with calling javascript function with more than one arguments while single argument function ...
0
votes
1answer
162 views

How can I add a “new item” link to the bottom of a CQWP

I assume its the itemStyle.xsl that I need to customize, but what is the code to add a "new Item Link to the bottom of a Content Query Web Part that takes you to the modalDialog for a new list item? ...
0
votes
2answers
140 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
2answers
948 views

Disable paging from Data View web part

I am new to XSLT and possibly the question i am asking could be a candy for some of you. I have added a Data View Web Part on Page using Sharepoint Designer 2010. I am using this DVWP to display data ...
1
vote
2answers
633 views

Paging is disabled in custom xsl

I modify the list. And created a xsl file for the xml view. But I can't go to other pages to see the other items. In normal lists there is arrows and the item numbers on the bottom of the list. The ...
0
votes
1answer
761 views

Editing rendering of Lookup Field - XLST

Let's say I have a simple text column named MyCustomName with four fields in it: REMOVE one REMOVE two three REMOVE four ...and I want them to display like one two three four in my list View. In ...
0
votes
3answers
408 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
206 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
112 views

use of 14hive resources in XSLT for XLV

Is there a way to use 14hive(!) custom resources ( Resource:MyCompany.MyProject.resx, MyProject.SomeComponent.SomeResourceKey; ) in a XSLT files for XsltListViewWebPart (and views)? Please, notice the ...
1
vote
2answers
882 views

XSLT filter for Yes/No Column/Field in SharePoint Custom List for SharePoint Designer DataView WebPart

I'm trying this with no luck: [@ActiveStatus='Yes'] also tried 1, '1', 'True' .. get no rows back.. If I remove the filter I get back all rows. full line in code view looks like this: ...
0
votes
1answer
151 views

Need help with getting List Item counts

I have a custom list created that tracks project status by stages. I need to present the same in a chart format. Below is the list information. Columns *Project Name *Development(Phase1) ...
1
vote
1answer
740 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
95 views

How do I dynamically insert a web part onto a page using Sharepoint Designer 2010?

I have a requirement to create a DVWP which queries a list of items: 1.1, 1.2, 1.3 etc. I have a webpart that takes an input (i.e. "1.1") and does some cool stuff with it. What I would like to do is ...
0
votes
1answer
398 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 ...
1
vote
0answers
270 views

SharePoint dataformwebpart get document path without document name and folder url

I have a dataformwebpart that queries multiple document libraries. I need to open the document properties in a modal window. I have used the below <a> <xsl:attribute ...
0
votes
1answer
149 views

XSLT Filter list items in DFWP by Current Date & Time

I have a list with the fields "Effective" and "Expires". Both fields are Date and Time data types. I want to show the list items where the current date/time is greater than Effective and less than ...
2
votes
2answers
1k views

In a ContentByQueryWebPart, how to generate a link to the item's display form?

I'm building a custom Xsl to customize the rendering of a ContentByQueryWebPart. This webpart is targeting pictures In the results, I would like to generate a link to the corresponding dispform.aspx, ...
2
votes
0answers
61 views

Linking publishing's xsl files?

I'm working on customization of some ContentByQueryWebPart. This customization consists in defining custom contentquerymain.xsl and itemstyle.xsl file. However, from one customization to another, ...
2
votes
2answers
249 views

is it possible to use sharepoint server-side code inside the search core web part xstl?

is it possible to use sharepoint server-side code inside the search core web part xstl? I have to join the search web part data and data from a custom list. I am trying to achieve this functionality: ...
0
votes
1answer
80 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
229 views

XSLT in DVWP : Using a Content Type, I'm not able to view @Author

I've just upgraded from SharePoint 2007 to SharePoint 2010. I developed a lot of stuff in XSL in 2007 - and while a lot of it works, there are some bugs I've found in my code that I don't know what to ...
0
votes
1answer
349 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 ...
1
vote
1answer
467 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
492 views

CQWP Get Author Information

I've got a content query web part displaying items from a list which includes an author column. I've managed to get the author's name and picture displaying, but I don't know how to get their ...
3
votes
1answer
172 views

Modify xslt in search core web part to join a column from another list

I am using search core web part to display the results of my search. I have added a column in xslt so that it displays ProjectId in the search result. I am using BCS to search an external database. I ...