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
501 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
173 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
264 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
477 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
400 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
729 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
342 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
504 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
183 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 ...
1
vote
1answer
347 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
308 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
75 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
313 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
523 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
315 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
192 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
154 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
901 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
854 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
412 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
752 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
919 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
389 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
758 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
234 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
68 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
204 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
595 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] ]]> ...
6
votes
3answers
1k views

How to do a for-each in ItemStyle.xsl

I'm trying to pull in custom columns from a SP list, and it works fine, but now I have to figure out how to do a for-each instead since it needs to pull in all items not just one. Here's where I am ...
2
votes
1answer
83 views

Webpart not updating for Read only users

I have a SharePoint page with Two webparts, one of them is a list displaying the previous months, the other is a xsl webpart that displays the news of the selected month using the url. (like ...
1
vote
0answers
76 views

CQWP pass columns by default

Lately we migrated a website from Sharepoint 2007 to Sharepoint 2010 and one of the issues we faced is that the content query webparts used to work fine but now it doesn't (It's missing some values) ...
3
votes
2answers
494 views

Content Query WebPart - Group by date - SP2010

I need to display top X last modified documents and/or publishing pages. They need to be grouped by modified date. As far as I know, the CQWP does not support grouping by date. Is there a workaround ...
4
votes
1answer
1k views

Render Pattern in list view for “custom field types” sharepoint 2010

I have developed a custom field type which will show the link to the "workflow history list" in the list (It's a column in the list). It works fine in sharepoint 2007 site. when i migrate the code to ...
0
votes
1answer
2k views

how to query a list inside a xslt file used by content query web part?

I am trying to understand xslt and how it is used in a content query web part. What I want to achieve is getting 5 last items added into a sharepoint list and display them in a special format. The ...
2
votes
2answers
684 views

Site collection relative url in XSLT search or by JavaScript

I have the following question: I'm modifying the XSLT of the search, so it is represented differently etc etc .. in this occasion I also need to get a relative site collection url. In managed ...
3
votes
3answers
2k views

How to create a column from the value of another using xsl?

I have a custom list with two columns. I want to use xsl to take the value of the fields in the first column, build a hyperlink and put it in the second column. Please don't suggest calculated ...
0
votes
0answers
3k views

How to link Title to document using XSL?

I have been struggling with this one for a couple days and figured it was time to ask for some help. I'm not sure if this is right forum, so if not please point me in the right direction. Does anyone ...
1
vote
1answer
247 views

replace link in search results with custom column

I would like to edit how the search results render. The default behaviour is to start with a link to the document (or the dispform.aspx of a list item). I was able to change the url value for specific ...
0
votes
2answers
371 views

Capture filter value, within xslt, passed in from connected web part

Is it possible to get hold of the value of a filter being passed in by a connected web part? For example, if a sharepoint list filter is sending a filter value of "1" to webpart A (a dataview ...
0
votes
1answer
1k views

xsltlistview overiding the column headings using Xsl Link

I have a listview webpart that used specific columns. Changing the names of the columns is not an option. Our users are insisting that the heading for these columns be updated, so I am thinking of ...
0
votes
1answer
509 views

How to add a css class to Choice field via XSL

Salvete! I have a list with a Choice field called "Scope". I want to add a class to that field using XSL, but I can't figure out how to get it to change. I want all the items in that field to get ...