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
339 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
103 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
624 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
211 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
66 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
178 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
484 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
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
78 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
70 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
427 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
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
1answer
521 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
174 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
298 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
831 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
414 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
658 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
546 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
226 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
225 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
230 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 ...
3
votes
1answer
1k 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
326 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
297 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
508 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
131 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
118 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 ...
0
votes
2answers
544 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
323 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"?> ...
6
votes
3answers
8k 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
2k 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
554 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
789 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 ...
2
votes
1answer
1k 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
168 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
5k 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
1k 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
596 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
611 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
442 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
800 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 ...
1
vote
1answer
313 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
826 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 ...