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

learn more… | top users | synonyms (1)

1
vote
1answer
789 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
99 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
414 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
311 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
159 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
276 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
82 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 ...
0
votes
1answer
246 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
374 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
480 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
514 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
177 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 ...
1
vote
1answer
278 views

Set TaskOutcome using JavaScript

I created custom task display form and need to add 2 buttons to allow user approve and reject task in display mode. How can I set TaskOutcome value using JS? My code is the following: <td ...
1
vote
1answer
2k 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 ...
1
vote
1answer
79 views

Show link only if folder contains a document

I have created a custom web part that displays information from a list of applications. I have created a sepearte document library that contains a folder for each application. I created a 'View ...
3
votes
1answer
494 views

SharePoint 2010 List Grouping Expand/Collapse Sequence Bug

I've run into a bug with a List web part that has me stumped. Bug description: Using the web part and XSL specified below, expanding groups may result in items from the wrong group being shown. ...
2
votes
1answer
418 views

Can the list view's XslLink property contain a web address?

Some Background... I have created a custom blog web template (which I started by copying and pasting the OOTB blog site definition) and in order to customise the way blog posts are displayed, I have ...
2
votes
1answer
1k views

XSL - Grouping by list item column with multiple entries

I am attempting to utilize XSL to format results pulled from a document library, but unfortunately this is my first stab at XSL ever. The columns in the document library are fairly standard - Title, ...
0
votes
1answer
780 views

Missing some custom fields on Content Query

I need to display my custom list rows using a custom XSLT, so I have configured a CQWP to display these rows from this specific list. Although, even the Order by dropdown list displaying all list ...
0
votes
2answers
346 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 ...
1
vote
1answer
531 views

Modify Link List

When I add <table > <xsl:apply-templates select='Rows/Row'/> </table> </xsl:template> <xsl:template match='Row'> <tr> ...
2
votes
1answer
195 views

Group By Last Modified Date in XSL or Content Query WebPart

I need to diplay the result of my content query webpart as follows: Date modified 1 TitleTitle Date modified 2 Title Title Title I know you can't do a group by on the last modified date in de content ...
2
votes
1answer
356 views

“Group by” with XSLT in Search Core Results web part

I have a bit of difficulty making it possible to group by the results in search core results webpart. I have a default xslt of that webpart and from there i would like to group the results by the ...
0
votes
1answer
229 views

XSLT of tasks webpart in 2013 / 2010

I'm curious and maybe someone could help me to get the XSLT of the My Tasks webpart in SharePoint 2010 and 2013, i tried to find it out, but i cannot find it anywhere. SP 2013 I don't have, but if ...
0
votes
1answer
311 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 ...
1
vote
1answer
76 views

XPath assistance [closed]

I created an XSLT translation for XML that looks like this that was workign as expected: <?xml version="1.0" encoding="utf-8"?> <bsar:BSAForm ...
0
votes
3answers
316 views

obtain list view rendered html from code?

Is there an option how to obtain the list view rendered html from code? For example I have an item (for example task ct) and i would like to obtain html rendered (on server side) if this item will ...
2
votes
2answers
534 views

search result xml to list view?

is there an option how to render the search results xml like list view look&feel? For example I would like to configure that ok, this column should be rendered like a linktitle field type with all ...
1
vote
1answer
331 views

itemstyle.xsl image styling

I'm using the itemstyle.xsl file to format a CQWP query on a page. Everything is working except that I want to fix the height and width of an image. I'm displaying the image with : ...
4
votes
1answer
198 views

Custom Field Type in 2013 Not Respecting Header Template

I have a custom field type with a fldtypes_xxx.xsl template that we have carried forward from a 2010 solution into a 2013 solution. The Number_body template we are using works just fine. However, I ...
0
votes
1answer
160 views

Inconsistent matching with XSLT match

Would appreciate any guidance. I have a list, which includes three columns, listed in the XSLT snippet. I can't get the "Scope Risk" aka "Scope_x0020_Risk" column to match, but the others match and ...
0
votes
1answer
57 views

Basic xslt: Hiding slots created from custom xslt

I've followed and managed to successfully implement this: ...
1
vote
2answers
925 views

Basic XSLT: Using contentquerymain.xsl for several CQWP's

Is there anyway of specifying a match condition to determine which CQWP is being 'passed through' the XSLT in main. Ultimately, I want to have a main.xslt file to serve several CQWP's but all must ...
0
votes
1answer
894 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
3k 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 ...
2
votes
2answers
4k views

ddwrt:FormatDate is reverting date parts

I'm using a custom XSLT file to format the oob created column to not show time, only date. I have this code : <xsl:template name="FieldRef_ValueOf.Created" ...
0
votes
0answers
419 views

XML Viewer Web part: filter/setting/javascript/jquery to dynamically point to xml file

perhaps this is a silly question, but is there a way to use a filter, or some script, or a setting or something like that, in SP2010 to allow a user to select various xml documents from a library and ...
2
votes
0answers
759 views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
3
votes
2answers
962 views

Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl

I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples. I want to customise the output of the Content Query Web Part to ...
1
vote
1answer
394 views

how to store an xsl field in parameter/variable?

I am trying to create a dynamic query filter with N columns but to do this I must store the entire query in a parameter. Assuming $myParam = "@Title" ' Select="Rows/@Title" ' != ...
1
vote
1answer
115 views

ignore special characters in title (xslt)

my xslt: <a href="?Filter={$itleUrl}"><xsl:value-of select="@Title" /></a> I get this output if the title is P&O: P&O but what i realy want is that he ignores the special ...
6
votes
3answers
2k views

Show created field with only date in XSL

I have a custom XSL file I linked in one my view. I would like to display the created field value as a date only. By now I have this xsl template : <xsl:template name="FieldRef_ValueOf.Created" ...
1
vote
1answer
784 views

What is the xslt mode binding for a choice field?

Say I want to grab a choice field via xsl. What is the right binding for mode? I can't find this information anywhere, and I've tried everything in its place! Text_body ? Choice_body ? ...
0
votes
1answer
241 views

Display an External List in a DataView webpart

My scenario is as follows: I have a dataview wp which currently displays list items (from ECT). In the DataView wp I filter the data according to a parameter passed in from another wp. The current ...
1
vote
0answers
69 views

Wierd format of Modified date and PublishingStart

Iam having trouble with date formats of these two fields: Modified and PublishingStartDate. They are different in format. Iam attaching how they display on my computer. I have regional settings set to ...
4
votes
1answer
206 views

SharePoint XML Web Part dynamically adding xml link

Is there a way to dynamically insert a variable in the <XMLLink> --variable here--</XMLLink> tag? I'm trying to read an URL parameter which will contain the xml files path. What I am ...
3
votes
2answers
634 views

Get <img>-SRC out of <content:encoded> (xsl - RSS Viewer WP)

I need to get the image source out of this code: <content:encoded> <![CDATA[ <span><img width="200" src="..."></span><br /> [some Text] ]]> ...