XSLT (Extensible Stylesheet Language Transformations) is a declarative, XML-based language used for the transformation of XML documents.

learn more… | top users | synonyms (1)

2
votes
1answer
612 views

Internal Name not working in Content Query Web Part on SPS2007

I'm trying to get and display list columns in the Content Query Web Part. Unfortunatley, some of these column names are like "WEC_ArchiveDate" or "My Categories". So I find the internal SharePoint ...
2
votes
3answers
856 views

Does Designer make page XSL static?

I've been chasing some weird problems with a Custom Field Type on a page that has a list view web part with Designer-provided Conditional Formatting. It seems like the XSL for the fields have been ...
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 ...
2
votes
1answer
488 views

Adding custom XSLT extension methods for Data Form Web Parts

I'm trying to figure out how to add my own XSLT extensions to be used in the DataFormWebPart on MOSS 2007, kind of like a custom ddwrt library. A comment on this post seemed to say that I could ...
1
vote
3answers
650 views

Remove Images from RSS Viewer running over SSL

Within our SharePoint 2010 farm running over SSL, we have multiple RSS feeds that are delivered through http://. The issue arises when these RSS feeds have an image and IE displays the warning of ...
10
votes
1answer
1k views

Localizing the Content Query Web Part in XSL

Has anyone managed to get the locale ID for the context of an instance of a Content Query Web Part in XSL, without extending the class? DataViewWebParts have a Language parameter passed in, but CQWP ...
3
votes
2answers
604 views

Wrong formating of date in xslt

My xslt list view suddenly broke today, and it seems to be due to some date time formatting I've done (and that I'm unable to spot) Today:<xsl:value-of select="$Today"/><br/> ...
1
vote
3answers
2k views

Hide column in xslt view

I've got an xslt list view. I have one column that should be used in the xslt calculation (shown as a row tooltip) but it should not be visible as a column in the list. Question: Must the column be ...
1
vote
2answers
8k views

How to format the date column in itemstyle.xsl

I'm editing the itemstyle.xsl to produce my own styling for a Content Query Web Part (CQWP) as follows: (NB - 2 laternative lines of code are shown as (A) and (B) <xsl:template name="MyNewStyle" ...
1
vote
2answers
295 views

Sharepoint - Provisioning xsl Style Files

I'm trying to provision a .xsl file with custom styles to be applied to a Content Query Web Part in SP 2007 MOSS. I want to deploy it in a feature. So far any attempt has failed as I cannot retrieve ...
1
vote
3answers
975 views

content query web part versus custom web part

In a publishing site, I want to create a webpart that display the result of a query with a custom display (a kind of rotator). As the goal of the web part is to be reusable and must be quite simply ...
1
vote
3answers
1k views

Comma in URL field

I'm having some trouble with URL fields in my List. The problem is that SharePoint stores URLs in two parts, "Description" and "Url", but in SharePoint Designer I can only access the whole URL in the ...
1
vote
1answer
530 views

Custom View Header Rendering Twice on External List

I'm starting to work with custom view stylesheets on an external list. I am finding the header is rendering twice - once upon initial page render and again after the data is returned from the server: ...
1
vote
1answer
357 views

attachments issue in DVWP, published page vs draft

I've got a single item DVWP (in a web part zone) displaying items from a list (gets the ID of the item to display from a query string parameter), it also displays any attachments using this; ...
1
vote
2answers
1k views

XSLT show picture or show nothing

I have created a custom xslt style to display the news on my website. My issue is that some of my news have a banner and some of them don't. So how do I determine by using XSLT how to display the news ...
1
vote
3answers
2k views

DataViews and Query String Parameter

I've used a parameter in the query string to filter a dataview. The parameter is declared in "SelectParameters" tag and used in the "selectcommand" parameter as a filter in the query. Now, is there a ...
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
2
votes
2answers
3k views

Calling Javascript within XSL after transformation in RSS Web Part

Hey all, got a tricky one for you. I have an RSS web part which uses a custom ItemStyle.xsl stylesheet to transform the results of the RSS feed into a UL list. I have some jQuery I want to inject ...
0
votes
1answer
395 views

Conditional show list column based on current MUI language in SP2010?

I have a list in a SharePoint 2010 site which has two columns for a description - one in English and the other in French. I'd like to be able to show only the column that matches the language ...
1
vote
1answer
2k views

Setting/Changing the view programatically to xlstListviewwebpart

Can somebody please suggest me to set/change the view programatically in xsltlistviewwebpart from AllItems to something else, based on logged in user. Requirement is to find out the logged in user and ...
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 ...
2
votes
1answer
811 views

Two different render modes of XsltListViewWebPart - plain html and js+async load

We've realised that XsltListViewWebPart can render content in two different modes. 1) if we add XsltListViewWebPart by SharePoint Designers on aspx page - we have plain html render on the page 2) if ...
0
votes
1answer
183 views

FlexListViewWebpart + custom XSLT (MOSS 2007)

I am working as a sharepoint consultant for 2 months now. Recently graduated so everything is a bit new to me. At the moment i am trying to figure out the flexlistviewwebpart, a webpart to allow the ...
1
vote
1answer
280 views

DataViewWebPart - Can We access the property bag value from the XSLT of DVWP

DataViewWebPart - Can We access the property bag value from the XSLT of DVWP?
0
votes
1answer
906 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
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 ...
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
513 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
937 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
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
987 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
638 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
384 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
977 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
640 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
901 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 ...