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
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
565 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
531 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 webpart)...
0
votes
1answer
2k 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
817 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
937 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
885 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 onclick="OpenPopUpPage('http:...
0
votes
1answer
300 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
360 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 ...
1
vote
0answers
1k views

How do I create a lookup field for a hyperlink field and display the URL?

I have a regular, out of the box, list of type "Links". I have created a custom list that includes a lookup field to the URL field of the "Links" list. I have created a custom xsl template file for ...
0
votes
1answer
320 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 ...
6
votes
1answer
2k 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
412 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
412 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
2k 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
757 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
146 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" xmlns:xsl="http://www.w3.org/1999/XSL/...
0
votes
3answers
119 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
5k 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 ...
0
votes
2answers
787 views

DVWP CrossList Paging Does Not Work

I've build a Data View Web Part with SharePoint Designer 2010, using SPDataSource and DataSourceMode="CrossList". The DVWP works great, but when I add paging, it adds the paging placeholder and the ...
2
votes
1answer
347 views

XSL Transform impacting other Web Parts

I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT: <?xml version="1.0" encoding="utf-8"?> <xsl:...
9
votes
3answers
12k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
0
votes
4answers
3k views

help with xsl if statement

I am trying to change the icon for the "Link to Document" on the searchResult.aspx page. I added following to the xslt of the result but then the result webpart never renders meaning the code is broke....
1
vote
2answers
666 views

Custom XSLT for taxonomy field in xsltlistviewwepbart for SharePoint 2010

I'm trying to modify the out-of-the-box rendering of the xslt list view webpart to collapse the terms, and show (..more) if there are more than 1 term in the field. I already did this for an "Authors" ...
0
votes
1answer
2k views

How to Convert Column Field into Hyperlink with xslt

Salvete! In my list, I have a column formatted as a Number, titled, say, "My Number", and the actual markup name of the column is "My_Number". Now, I want to convert the entire column, in any list,...
2
votes
1answer
2k views

How to attach programmatically and XSL to a View

I have my custom Document Library with his own content type, views and so on... I'd like to add a particular XSL to a View, to trasform particular value into other.. This works if I put the XSL file ...
1
vote
1answer
181 views

Hyperlink text to another list xslt

Anyone have ideas how I can link a text in another list. I have a one list(A) which contains items i want to display. I want to link to an article in list (B) Pages library using xslt dataview. Any ...
7
votes
2answers
9k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
0
votes
1answer
2k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
1
vote
1answer
810 views

CQWP Error when modifying webpart and ItemStyle.xsl : from example SP2010

I am trying to create a webpart that would take blog posts from subsites under site and roll them up. I found a blog that describes exactly what I am trying to achieve here. After following these ...
4
votes
1answer
905 views

Show Author.name in custom XSL for blog post

I've been attempting to modify the XSLT on the blog posts to show the authors photo. I've managed to get the photo showing by changing the 'Created By' column to the value "Person (with picture)" and ...
2
votes
2answers
586 views

XSLT - Wrap Items According to Position

I need to render a wrapper to items. I have a list of items that i want to display them in a DVWP, and every 3 items will be in a wrapper, for example: <div> <div>item</div> <...
3
votes
1answer
1k views

Edit date format of Blog post and comments

I'm trying to change the date format of blog posts and comments in Post.aspx, but having trouble. What I want to do is change the $thisNode/@PublishedDate value with $thisNode/@PublishedDate....
1
vote
1answer
453 views

xslt dropdown & spservice.spcascadedropdown

I have a xslt list form view. I have 3 drop down on the form - Area , Geo Market , Country for which i want to implement cascading functionality. Data saved in list is of type Single line of text.(...
1
vote
2answers
1k views

Constructing a link in a dataform webpart

I've setup a DataFormWebPart which aggregates tasks from subsites. The user doesn't only want to view the tasks, there should be an option to edit / open them as well. So I need a way to at least ...
1
vote
1answer
462 views

How to get current locale so as to display correct data in data-view webpart

I am making data-view which gets data from a list (having different language columns). My problem is I want to get the current user locale in XSLT and then display data from appropriate language ...
2
votes
1answer
1k views

DVWP sorting the data with xslt and removing the duplicates

I'm working with SharePoint 2007. I try to modify the DVWP with the XSLT. The web part pulls the data from the list, what i want to do is just sort the data and show the results. - I can't sort the ...
1
vote
0answers
562 views

xslt enable-disable control

I have 2 control : Check box and Choice (Radio Button). On Selecting check box , radio field should be enabled and on unchecked of check box , choice field should be disabled. Can someone help with ...
1
vote
1answer
3k views

Discussion Board XSLT

first off, here is the post that goes with this one. Sharepoint 2010 Discussion Board Thread.xsl Ok, I am trying to modify the ootb sharepoint discussion board xslt, with divs with id's so I can ...
2
votes
1answer
5k views

Sharepoint 2010 Discussion Board Thread.xsl

Ok, I have searched and searched for an answer on how to customize the thread.xsl file. So I have copied the file, and renamed it as thread2.xsl. In the threaded.aspx page, I have changed the ...
2
votes
1answer
1k views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
3
votes
0answers
2k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
0
votes
0answers
98 views

XSLT Markup help [duplicate]

Any xsl examples on how to achieve this html markup <div id="rotate"> <ul> <li></li> <li></li> <li></li> </ul> <div>First content&...
2
votes
0answers
38 views
2
votes
1answer
315 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl (...
0
votes
1answer
409 views

XSLT with in CQWP leaving html tags open when empty

We have some XSLT when the value of Message is NULL the h2 transforms into a self closing tag. How can we stop this? <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="...
0
votes
1answer
811 views

DataFormWebPart - Implement cascading dropdown

I have new form modified via xslt. So i have DataFormWebpart. I want to implement cascading drop down for 2 of my lookup field(Area and Country). Can anyone help on it. I am aware of the SPServices....
1
vote
2answers
3k views

How to count the number of rows returned when using a Data View Web Part XSLT and Xpath

I have created a data source to link, via a join, 2 lists in sharepoint 2010. The result is a Data View Web Part. I would like to count the results returned in the second 'lookup' list. So for example,...
0
votes
1answer
549 views

Converting datetime column value to server datetime value

I am trying to build a calendar with date time columns. My SP 2007 server is in US and I am trying to use this site in India. My server returns the EventDate column value in India format. I want to ...
0
votes
1answer
252 views

Localizing CoreSearchResults Web Part with XSL

We are using custom XSL to transform the search results. There is a couple of labels in the custom search results and these need to be localized when user changes language. This article explains how ...