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
254 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"?> ...
5
votes
2answers
3k 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
764 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 ...
1
vote
2answers
427 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
200 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 ...
1
vote
1answer
823 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 ...
0
votes
0answers
229 views

XSLT 0x80004005, a reference to variable or parameter cannot be resolved. the variable or parameter may not be defined

While trying to change a view column name so that the view would apply to all lists through an event handler I keep recieving a most annoying error after I deploy and create a new list. The initial ...
1
vote
1answer
139 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 ...
6
votes
2answers
2k 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
623 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
292 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 ...
2
votes
0answers
400 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 ...
0
votes
0answers
330 views

SharePoint xslt customization

I am trying to make the following customizations in XSLT ListViewWebPart (Related code bellow de list) Create a link inside a HTML Table to Open a Modal Window (Edit Selected Item Link); Create a ...
2
votes
2answers
310 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
558 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 ...
0
votes
0answers
278 views

SharePoint Context Menu Rendering

I have a web part which is generated via XSL transformation (XML + XSL = HTML). I would like to render SharePoint Context Menu in the Web Part What I want is a JavaScript in the XSL which will ...
1
vote
1answer
234 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 ...
1
vote
2answers
521 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
302 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 ...
1
vote
1answer
295 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
218 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 ...
0
votes
0answers
131 views

xslt : Update different list items on single button click

I need to update 2 different list items on single button click. Eg : On page load, using query string parameter i am filtering items in 2 different dataformwebpart from 2 different list (say A & ...
1
vote
1answer
2k 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
2k 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 ...
0
votes
0answers
187 views

Implementing tab display for list items

I'm working with sharepoint 2007. I've been following this link to create a tabs display http://sharepoint.microsoft.com/Blogs/GetThePoint/Lists/Posts/Post.aspx?ID=443 Althought i encounter a lot of ...
1
vote
1answer
753 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 ...
0
votes
0answers
884 views

How to get/set the Sharepoint field elements with parametrized properties/attributes?

Tried to ask this question in comments to: A Dummies Guide to SharePoint and jQuery–Getting & Setting SharePoint Form Fields but my question is not appearing in comments 2nd day. So, one ...
1
vote
0answers
906 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
97 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 ...
1
vote
0answers
29 views
1
vote
1answer
155 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
308 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 ...
0
votes
1answer
443 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 ...
0
votes
0answers
220 views

Blog default view - remove comments

I'm trying to remove comments link from post in sharepoint 2010 blog. I found out that there is a section in blog.xsl in 14 hive responsible for that. After commenting out that section, I was able to ...
1
vote
2answers
994 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 ...
0
votes
1answer
368 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
155 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 ...
0
votes
3answers
3k views

SharePoint Foundation 2010 Blog Post XSLT Date Formatting

I'm using SharePoint Foundation 2010 and we've added a blog as a subsite. I want to show a 'recent blog posts' webpart on the main site page, so decided to go down the route of an XML webpart using ...
0
votes
2answers
447 views

DVWP xsl formatting help needed

Need a hand formatting some XSL. Taking a look at an example that Marc Anderson put together for a jquery accordion, I need to tweak the output. I've been playing with this for quite a while and ...
0
votes
2answers
719 views

ddwrt Schema Unavailable?

So: I'm trying to use the ddwrt:FormatDateTime function in an XSL transform, but I'm getting the following error: Exception details: Method: ...
0
votes
1answer
86 views

Additional class rule based on template name

I'm rendering three columns, each containing a CQWP. Each CQWP will utilize a different item template to render the contents, however, I need to add an additional class rule along-side ...
0
votes
1answer
768 views

Using a list view to filter another list view

I have two lists; List A and List B. List B has a lookup column to List A. I want to filter List B based on the value in the field that looks up A. This can of course be done using the default OOTB ...
2
votes
1answer
2k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
0
votes
0answers
645 views

Overriding built-in field rendering template

I want to override the rendering of the built-in ContentType field for lists in display mode. I have read several articles/tutorials on the subject and all agree I should create a custom xsl template ...
1
vote
1answer
274 views

Data View Web Part pointing at multiple XML feeds/internal SharePoint lists

I am trying to put together a web part with a mixture of jQuery display functionality on a DataView web part. The idea is to have multiple sources of news feeds from both an internal SharePoint list ...
1
vote
1answer
938 views

Format-number() not working in calculated column

CASE: I'm using a Workflow in a huge process, one of which is to set an Infopath column to be incremental. However, this incremented column value has to be in a certain format and cannot be done in ...
0
votes
1answer
470 views

Remove Select column in xslt web part

My apologies if I miss some of the terminology. I have an xslt web part that I want to connect to another list. When I connect it to another list I get the select column that I don't want to see. ...
0
votes
0answers
198 views

Sharepoint 2010 XsltListViewWebPart - XSL not working if async checked [closed]

I am facing this issue where if asynchronous updates (AJAX - AsyncRefresh) is checked, applied XSL stops working. I tried both, XSL & XslLink at web part level. If it is set to ...
1
vote
0answers
220 views

Problem with 2 column layout in DVWP

MOSS 2007. I have a joined list with mutliple categories. I have a two column layout where the category is the header for each section with a group of subcategories. The categories are filtered based ...
0
votes
2answers
551 views

Remove Duplicates in DVWP using JQuery

I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...