XSLT (Extensible Stylesheet Language Transformations) is a declarative, XML-based language used for the transformation of XML documents.

learn more… | top users | synonyms (1)

8
votes
2answers
383 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of ...
4
votes
2answers
479 views

Can the list view's XslLink property contain a web address?

Some Background... I have created a custom blog web template (which I started by copying and pasting the OOTB blog site definition) and in order to customise the way blog posts are displayed, I have ...
1
vote
2answers
54 views

Hours and Minutes calculation in Dataview webpart

I have a DataView Webpart, to display XML data using XML File connection. I use the below formula to calculate the day difference between 2 dates: ...
0
votes
2answers
87 views

How do I use a custom XSL style sheet with a Content Query Web Part without SharePoint Designer?

I'm trying to present data from a list in a more beautiful fashion using a Content Query Web Part and an XSL style sheet. I found some instructions on this page, which seem pretty simple, but they ...
0
votes
2answers
104 views

My first row keeps repeating - <xsl:template match=“Row”>

I am getting data from a list with xsl and creating a nice print preview of that data. The table I am creating is correct except my first row keeps repeating (it has the column name and it is only ...
0
votes
2answers
315 views

Toggling Data View Web Part Paging at Runtime

I'm using partial text filters that push query string parameters to the Data View Web Part. The DVWP is using an XSLT filter that refers to the values supplied by the textboxes. The challenge that I'm ...
1
vote
1answer
23 views

Apply format when calling template

I am stuck on a syntax issue. I have the following table data <td> <xsl:call-template name="DateDiff"> <xsl:with-param name="firstdate" select="@Current_x0020_POP_x0020_End_x002" ...
1
vote
1answer
907 views

SharePoint 2010 Listview creates “Unable to display…” error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
1
vote
1answer
607 views

How to dynamically pass values such as images and multiline texts to a wiki page which needs to be rendered in XSLT

I have a requirement where I have a list which contains 4 columns named 1.Title 2.Image 3.Short Description 4.Full Description. Now my requirement is that I need to display this list in a ...
1
vote
1answer
81 views

Show link only if folder contains a document

I have created a custom web part that displays information from a list of applications. I have created a sepearte document library that contains a folder for each application. I created a 'View ...
1
vote
1answer
131 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 ...
1
vote
1answer
444 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 ...
1
vote
1answer
410 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 ...
0
votes
1answer
39 views

How to save attachments filename into a field?

I am trying to create a URL/ Link with current item attachment filename. My example List name: MyList ItemID : 100 LinkField: NULL attachments: abc.csv & abv.doc I would like create a ...
0
votes
1answer
18 views

Sharepoint 2010 XSLT Customization Lost on Save

I have a page with a XsltListViewWebPart. That is displaying a list with People objects (Person, Department, Email, Phone). I am trying to override the Email to be an actual mailto instead of loading ...
0
votes
1answer
17 views

differences in the XML returned in a DVWP vs list.asmx webservice for a plain text field with a URL

I'm trying to figure out why the XML returned in a DVWP is different then what is returned with the list.asmx webservice for a plain text field with a URL in it. I have a list with a plain text ...
0
votes
1answer
46 views

Remove line break from text in JavaScript (variable value from XSLT)

I need get a variable value from XSLT in search result in SharePoint 2010. But this value is muti-lines text. When I add this variable value in JavaScript, the JS code cannot work, because the line ...
0
votes
1answer
65 views

Summarize text data in a field using XSLT

I'm trying to work out a way that several items in a list could be summarized in a single item if they have a keyword in common. For example, given the items: Sounds: a Sounds: b Vocab: word Vocab: ...
0
votes
1answer
91 views

How can you move up the paging buttons

The default location of the Paging buttons is all the way down(see picture below). Is there a way to move them over all the way UP, so that users don't need to scroll down every time they want to ...
0
votes
1answer
50 views

Removing “<pdf:Producer>” from HitHighlighting results in Sharepoint with Foxit PDF IFilter

In my search results, I am getting something like this included in the HitHighlight section of the result item in the "Search Core Results" web part: <pdf:Producer>Microsoft® Word 2010 ...
0
votes
1answer
83 views

SP2013 CQWP and slider give me blank slides

I have a big issue and a question about CQWP and slider. I have an image library which will serve as a news library. I've set a CQWP on my homepage which will display Image, title and comments ...
0
votes
1answer
90 views

Itemstyle.xsl custom template

I have a custom template that I use for a CQWP with announcements. I have it set to truncate the announcement at 750 characters, then show a link with the text [Full Announcement]. The issue is when ...
0
votes
1answer
71 views

Xslt truncate text in field and add link

Hi I have a DataForm Webpart and editing in SPD. I need to truncate a column so I've replaced this line <xsl:value-of select="@AboutUsDetailedIntroduction" disable-output-escaping="yes" /> ...
0
votes
1answer
18 views

XSLT Image Source Duplication

I have an XSLT file where I output the image source using an attribute. It works fine or should I say it was working fine until I realised that it's outputting two values the same that are now ...
0
votes
1answer
40 views

How to get the unique values in DVWP using XSLT

My requirement is to get the unique values from the list in DVWP Web Part using XSL. Let's say i have following values in my list (10,10,20,30) and i need to show as (10,20,30). Any help would be ...
0
votes
1answer
200 views

XSL for CQWP to display Link List items

I am attempting to use the following solution from Marc D Anderson's blog to display LinkList data in a Content Query Web Part: ...
0
votes
1answer
37 views

What is the meaning of this XSLT?

I want to know the meaning of this following XSLT Code shown below... <xsl:choose> <xsl:when test="(substring-before(substring-after(@Department,'=*&quot;&gt;'),'&lt;')) = ...
0
votes
1answer
469 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> ...
0
votes
1answer
64 views

Unable to diplay this Web Part when using a DVWP to display items for a large list

I hope someone can help me out with this one. I have a large list that contains about 40 columns and currently holds 33 thousand list items in SharePoint 2010. One of the columns is used to enter an ...
0
votes
1answer
18 views

how to edit the XSl style sheets to make a heading link to a site

I have a CQWP that I am using to pull data from various sites and display the site title as a heading, and the documents underneath. The site title displays as a heading. Is there a way to make the ...
0
votes
1answer
94 views

XML code for List view

I am trying to create a list view using xslt style sheet coding. I find out how write xslt with help of w3schools. But in order to write xslt coding i have to see the xml code of list view . Any one ...
0
votes
1answer
354 views

How to use XSLT in sharepoint

Hi i am new to XSLT coding in share point, but i know that we can use XSLT coding to create a list view with more sty-lings. I have a list named "detailsOfEmployee" with columns ...
0
votes
1answer
520 views

XSLT template conditional statement on lookup fields - Optimization help

I have a block of xslt that examines if the current node and performs some calculations using different lookup fields if a certain field matches a certain text string. It works as expected and is ...
0
votes
1answer
117 views

Xslt file not overriden on sub sitecollection

I have modified the ContentQueryMain xsl file and want to override it when I deploy. So far it works fine, but I have multiple site collections where I also need to override the ContentQueryMain xsl ...
0
votes
1answer
23 views

XSLT query coming up as false

Any ideas why query results is coming up as false, although values are the same? <xsl:value-of ...
0
votes
1answer
105 views

CQWP rendering items like http://site/Lists/item/2_.000

I have a content query webpart, it's rending item url as http://site/Lists/item/2_.000, I have to edit the webpart and remove the value of the Url Path, from the link field, then it will work fine, ...
0
votes
1answer
99 views

2013 CQWP with tables and multiple link

I have an Item Style I created that displays items in more of a table list format rather than a linear one. I am also trying to display the Title link for the item as well as link for a hyperlink ...
0
votes
1answer
2k views

How to remove group fieldname from Listview WebPart

When using a ListView WebPart on a custom list and enable grouping for a view, the name of the group is always displayed as the first entry I tried to find a way to get rid of the “Category:” label ...
0
votes
1answer
271 views

How to display pagination in my XSLT when displaying picture gallery

I have a page named PictureGallery.aspx in which I am displaying a picture gallery as shown in screenshot below. I have applied XSLT on this gallery and displaying it according to how I want it ...
0
votes
1answer
83 views

I want to use a CQWP to show the list’s name description, any ideas?

I’ve been going around in circles a bit with some XSL (as it seems easy to do) and I was wondering if you have a quick fix for this too.   I want to use a CQWP to show the list’s name and ...
0
votes
1answer
110 views

multiline view for lists

I have a list that currently looks like this (Excel mockup): I want it to look like this: I tried to be really sneaky and insert </tr><tr> in the XSL but SharePoint just strips it ...
0
votes
1answer
121 views

Custom RadioText Box not Saving to Field

I have a Radio Text Box in a New Form that I want to save the selections to a SharePoint field. I want options to show/hide according to a parameter passed in. For example, if the parameter is ...
0
votes
1answer
388 views

SP2010 DVWP Group By Multi-choice lookup list

I currently have a column which is a multi-choice lookup list, I'd like to create a row for each multi-choice items per row and group by the multi-choice column. I've tried using XSLT to format the ...
0
votes
1answer
216 views

How to structure my sharepoint 2007 xslt to sum

I'm having a little trouble with some syntax for my xslt statement on a custom sharepoint page, any help would be much appricated. I've summed a column from a list and it displays correctly (code ...
0
votes
1answer
218 views

How can I add a “new item” link to the bottom of a CQWP

I assume its the itemStyle.xsl that I need to customize, but what is the code to add a "new Item Link to the bottom of a Content Query Web Part that takes you to the modalDialog for a new list item? ...
0
votes
1answer
214 views

Need help with getting List Item counts

I have a custom list created that tracks project status by stages. I need to present the same in a chart format. Below is the list information. Columns *Project Name *Development(Phase1) ...
0
votes
1answer
208 views

XSLT Filter list items in DFWP by Current Date & Time

I have a list with the fields "Effective" and "Expires". Both fields are Date and Time data types. I want to show the list items where the current date/time is greater than Effective and less than ...
0
votes
1answer
302 views

XSLT in DVWP : Using a Content Type, I'm not able to view @Author

I've just upgraded from SharePoint 2007 to SharePoint 2010. I developed a lot of stuff in XSL in 2007 - and while a lot of it works, there are some bugs I've found in my code that I don't know what to ...
0
votes
1answer
242 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
57 views

Basic xslt: Hiding slots created from custom xslt

I've followed and managed to successfully implement this: ...