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

HTML code being displayed instead of resulting output from a column in List

I have a column named "Detail" in my list and its type is "Rich Text". When I insert some item in this list for e.g. "This is a test" and when I display this list on home page of my site using XSLT ...
1
vote
0answers
186 views

Sharepoint 2013 - External List view/edit item in modal dialog

I have an External List, reading from a WCF. When I open an item (view item), I want it to open in a modal dialog. The External Data Source has 'read item' and 'read list' set up from WCF services. ...
1
vote
1answer
173 views

Group template in Header.xsl not working

I have the following template in Header.xsl file: <xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header"> <div class="row"> <div class="columns large-4 ...
1
vote
2answers
766 views

Library name in Content Query Web Part

I am fetching items from all Form libraries in a site collection and displaying name, Document Id (service is enabled in site collection features) and name of the person who submitted the form: Form ...
0
votes
1answer
35 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
431 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
462 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
166 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
283 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
236 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
156 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
419 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
123 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
230 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
2k 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
303 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
561 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
797 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
221 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
207 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
165 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
374 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
100 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
119 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
144 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
312 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
956 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
524 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
167 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
142 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
983 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
666 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
799 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
426 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
210 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
118 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
939 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
160 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
758 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
98 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
406 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
294 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
154 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
62 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
263 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
81 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
3k 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 ...