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
213 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
207 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
63 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
237 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
407 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
270 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
149 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
118 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
51 views

Basic xslt: Hiding slots created from custom xslt

I've followed and managed to successfully implement this: ...
1
vote
2answers
649 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
457 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
1k 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
2k 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
326 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
550 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
1answer
604 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
308 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
91 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
1k 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
544 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
188 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
64 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
170 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
436 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] ]]> ...
5
votes
3answers
964 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
72 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
64 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
384 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 ...
3
votes
1answer
939 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
1answer
427 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
1k 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
2k 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
157 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
272 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
688 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
359 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 ...
0
votes
2answers
603 views

Show custom published date field instead of Last Modified Date in “Date” field in Search results

Currently, my Search Core Results display the following information: Contact us Africa, Least Developed Countries and Special Programmes … Your e-mail (required and never shared) … …  Date: 6/11/2012 ...
1
vote
1answer
490 views

Modifying XSL for multi lookup field

I'm trying to create custom XSLT for a multi lookup field, based on this article. When changing disable-output-escaping to yes I can see the html I want to modyify: <a ...
0
votes
1answer
210 views

fldtypes XSL reference of available variables?

I've been using the $List variable but now am looking for one that will give me an identifier I can use to get the current subsite off of the root, does anyone know a good resource where I can find ...
0
votes
1answer
207 views

XSLV web part: default xsl templates

Where default xsl templates for xslt view list web part are soterd? As I know I can override any template in custom XSL file, but where can I find all the default templates? For example I need a ...
0
votes
1answer
216 views

XSLT/Webpart View in Custom Javascript text file?

So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
2
votes
1answer
937 views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
0
votes
1answer
304 views

Customizing XLV web part's xslt

I have a list with few views. I've updated one view. Made column to be bold in the list's view. Then I opened a web part page and added this list (Page Tools -> Insert -> Existing Lists) then opened ...
1
vote
2answers
272 views

Customize table structure in XlstListViewWebPart

I need to modify the structure of the HTML rendered by the XsltListViewWebPart in the default AllItems.aspx SharePoint page. Specifically, I need to separate the column headings into its own table and ...
1
vote
2answers
1k views

Changes are not reflected on XsltListViewWebPart when changing vwstyles.xsl

I have a question regarding the vwstyles.xsl for XsltListViewWebPart. Basically I have a strange behavior, when I change the vwstyles.xls but not directly but by the fldtype_somename.xsl, the changes ...
0
votes
2answers
480 views

How to have a row number in a custom webpart with pagination

I have a custom list and i would like to have a row number. I did use the <xsl:number/>and that worked but when i click on the next page of the list the number resets itself back to 1 again. Is ...
1
vote
1answer
119 views

SP2010 workflow task-mails: invalid html in sended mails

Sometimes (not always) some task-mails are not displayed correctly. xslt: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" ...
0
votes
3answers
117 views

Why customized title header of the List Views web part does not reflect correctly for other users?

I used the SharePoint Designer 2007 to generate the XSLT Data View and made modification to the column headers. Although I am able to see the new column header's name, other users still are not able ...
0
votes
2answers
3k views

Unable to display this Web Part. To troubleshoot the problem, open this Web page … & Error: Reference to undefined entity 'nbsp'

I created a page in SharePoint Designer 2007 that use a SharePoint Library. I used the method of 'generating XSLT' from this page - How to customize the header titles of the List Views web part ...