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
384 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
600 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
321 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
4k 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 ...
1
vote
1answer
927 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 ...
2
votes
0answers
1k 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 ...
2
votes
0answers
37 views
2
votes
1answer
225 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
341 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
598 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 ...
1
vote
2answers
2k 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
471 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
224 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
4k 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
726 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 ...
1
vote
2answers
1k 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
956 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 ...
4
votes
2answers
3k 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 ...
1
vote
1answer
339 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
2k 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 ...
1
vote
2answers
789 views

Remove Select column in xslt web part

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. How can I remove it? More info Originally I was ...
1
vote
0answers
266 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
742 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 ...
1
vote
1answer
284 views

Enterprise Search Results + Ratings

I am trying to add rating stars to the search results in my Enterprise Search Center site according to the instructions found on the following sites: MSDN | Corey Roth - MVP's Blog | Todd's Blog ...
1
vote
2answers
121 views

SharePoint 2010 Main Summary Blog Page

Is there a way to get posts to roll off on the main summary blog page? Basically we don't want posts to keep displaying after so many days (i.e. they need to roll off once they reach the set ...
0
votes
1answer
928 views

Summing a column on a DVWP with 2 levels of grouping with incorrect subtotals

I am working with SharePoint 2007, and have been charged with making a report based on external data (SQL Server). It is a high level look at list of tickets in particular statuses. I decided to go ...
1
vote
1answer
584 views

Get the title of file and not file name in content query web part?

What do I use instead of <xsl:variable name="DisplayTitle"> <xsl:call-template name="OuterTemplate.GetTitle"> <xsl:with-param name="Title" ...
0
votes
1answer
336 views

Hide GUID in core search results display

I have created a number of Managed Properties, so I could customize Refinement Panel - this ia all good. Search Core Results WebPart now displays some of these new managed properties with value, ...
2
votes
1answer
128 views

Template XSLT Resources

I'm beginning to customize a SharePoint blog and noticed that a bulk of customization (at least in terms of web parts) can be done through linked XSLT files but I'm struggling on finding resources or ...
0
votes
1answer
872 views

item style xsl profile picture

I am trying to create custom query in SP2010 called company announcement. I would like to include the profile picture of the author from the sharepoint user profile. Any help would be great! ...
0
votes
1answer
293 views

DVWP MaximumRows ParameterBinding not working

Is it possible to use ParamaterBinding for MaximumRows? The following does not work. Following set in SelectParmaters <webpartpages:DataFormParameter ParameterKey="MaximumRows" ...
0
votes
2answers
2k views

Handle the event generated by ddwrt:GenFireServerEvent('__name')

I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so: <input type="button" value="..." name="..." ...
1
vote
1answer
1k views

XML Viewer Web Part 'Failed to apply XSLT to the content'

I am trying to use the XML Viewer web part in SharePoint 2010. Using the this XML <?xml version="1.0" encoding="UTF-8"?> <STOCKQUOTE ROWCOUNT='1'> <RESULT> <ROW> ...
0
votes
2answers
1k views

Remove line break from mulitline text in SharePoint xslt

I am working with SharePoint library and DataView webpart. I have a SharePoint list in which one of the column is a multi-line text. I have inserted a DataView webpart in the designer using the list. ...
10
votes
2answers
3k views

How can I use normal paging on a custom view?

I'm creating several lists (and their views) programmatically, based on custom list definition templates. When these views display more than 30 items, the following link is displayed: Whereas on ...
0
votes
1answer
195 views

Error in a content query web part 2007

any one can know what the error in the following code : when I remove the variable LinkTarget1 it will run <xsl:template name="INeedTo" match="*" mode="itemstyle"> <xsl:variable ...
2
votes
1answer
390 views

Description of SharePoint list column in SharePoint designer xslt

have a list in SharePoint portal. Also I have added description to each of the fields in list. Now I have created a dataview webpart in SharePoint 2007 Designer. I am able to get the list column ...
1
vote
1answer
160 views

Copying code over in Sharepoint Designer 2010 and changing it, deletes code from the original file, how can I fix this

Suppose I have two files, A, and B respectively. Everytime I copy xsl code from file A to B and modify the code in B and save it. The code in A gets removed (all except for the WebPartZone tags and a ...
2
votes
1answer
609 views

best way to implement inline editing of a data view web part styled using custom xslt

I need some advice regarding the best way to implement inline editing of a data view web part styled using custom xslt. The data view web part gets the data from the list and would be styled as ...
3
votes
0answers
563 views

Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP

I have a CQWP with the Parameters: Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;| Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;| ...
2
votes
2answers
2k views

Issue trying to customize xslt layout of a list view

This is probably simple but here goes. I want to customize the xslt layout of a list view. The idea is to add a header to the top which shows the name of the list. Here is what I have so far. ...
1
vote
1answer
1k views

“Web part references an untrusted XSL file” error

We're getting this error on a SharePoint 2010 web site when inserting a content query web part (CQWP) that uses a custom XSL file: The web part references an untrusted XSL file. Only XSL files ...
2
votes
1answer
1k views

SP 2010 - Search Core Results Default XSL Params

I was wondering, where I can find a list of the default xsl params available with the search core result webpart? When we use the default xsl stylesheet of the webpart, default params are defined at ...
3
votes
1answer
7k views

Filtering a list with date ranges - xslt / advanced expressions on list filters possible?

I've got a Sharepoint 2010 list that I'd like to filter with date-ranges. I'm doing something like if END_DATE > [NOW - 1Week] and END_DATE < [NOW + 1Week] or PLAN_END > [NOW -1Week] and ...
1
vote
2answers
150 views

Is the @ symbol always necessary in the SharePoint ItemStyle XSLT?

I'm working on a project in which I've made a new webpart which inherits the CQWP. In the codebehind I send some additional values, which isn't present in the lists (meaning there are no columns ...
1
vote
1answer
546 views

Sharepoint 2010 Search core result

Is there any way we can link the "Author" field that is displayed in "search core results" (not People Core Search Results) to their corresponding "My Site"? I tried using the managed property to ...
0
votes
1answer
190 views

Data View web part causing memory Leak

I first posted my question yesterday at the following URL on stack overflow: Creating DataView's on the Pages Library After doing more research, I've concluded that my problem is with my ...