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

XSLT for summing Number column where there are cells with no value

This is akin to this question but I couldn't get the suggested sumAll function to work. I also have several different columns to sum and it just seems silly to have a separate template for each ...
0
votes
1answer
420 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 ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
1
vote
1answer
519 views

Add numbering to the search core results web part in MOSS 2007

I am using MOSS 2007 to provide a custom search results page. I need to display a number as part of search results which indicates the number that result appears in the whole result set. The problem ...
4
votes
1answer
4k views

Custom field type XSL in SP2010

Has anybody upgraded an old custom field type to use the new XSL transform in SharePoint 2010? I have a multi-column field type, and want the Display pattern to render the 2nd "column", which contains ...
1
vote
2answers
948 views

Duplicate the functions of the ddwrt xsl namespace

I am creating a custom print function for our Sharepoint data as we have some requirements about the way the data is formatted and some of this depends on the content. I am using xml and xsl for this ...
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 ...
1
vote
5answers
3k views

DVWP xslt - text only from rich text field

Is there a simple built in xslt function or easy way to strip the html tags from a rich text field in a sharpoint list? I only want to return the text the end user put in. The scenerio is im ...
2
votes
3answers
646 views

Displaying Page list items in RSS gives wrong title

I have an external site at which I'm displaying news using Sharepoint Pages. I would like to publish these news pages using RSS, which works fine. But the title is the file name without the file ...
4
votes
3answers
404 views

Can the ID from a referenced column be obtained when using the Data View Part?

I have a Data View Part pulling from a list that has a lookup column to another list (title linked by ID) And somewhere in the XSLT, it reads <xsl:value-of select="@ColumnX"/> Now since ...
2
votes
1answer
1k views

How to get the username from a field which is defined as “Name (with presence)”

In a custom list there is a column / field defined as “Name (with presence)”. In my modified aspx page, I want to do an ‘xsl if’ statement to check if the value from this field is the same as the ...
2
votes
2answers
2k views

What is the best way to encode parameters to pass it to other List / Page?

I would like to know the best way to encode parameters (with a space or other unsafe characters) when passing these to another List. With ddwrt:UrlEncode ? <xsl:variable name="MyURL" ...
1
vote
0answers
643 views

List of Custom Item Styles for Content Query Web Part [closed]

Nearly every one of us have designed custom ItemStyles in ItemStyle.xsl to produce the presentation format needed by business. I think it will be great if we can put together these styles here for the ...
2
votes
2answers
7k views

XSLT for summing a column in a Data View Web Part

I have this (an attempt to solve the task): <xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" ...
2
votes
2answers
912 views

Adding custom XSLT libraries for use in the Search Core Results web part

Out-of-the-box, the Search Core Results web part only supports XSLT 1.0. The last thing I read from Chris Lovett on the MS XML team is that Microsoft don't have plans for XSLT 2.0. This makes the ...