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
3answers
546 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 System.Threading.Thread.CurrentThread....
5
votes
2answers
587 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 customize the way blog posts are displayed, I have ...
1
vote
2answers
23 views

Missing xslt webpart viewer

I am looking to add an Xslt viewer to the homepage of my site but cannot find it in any of the available web part categories Do I need to enable a specific site feature to make it available?
1
vote
2answers
446 views

How to get the List url in Content Query Web part?

I'm using a content query web part to display data from lists which are located in different subsites. So far I've been able to display items, but one of the requirements is that I've to display the ...
1
vote
2answers
126 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: "(number(ddwrt:DateTimeTick(ddwrt:GenDisplayName(...
0
votes
2answers
28 views

XSLT web parts functioning after migrating to SharePoint 2013

We are in the process of migrating and upgrading a client's SharePoint 2010 Intranet portal to SharePoint 2013. Our client has many custom web parts built in XSLT. These are basically Content Query ...
0
votes
2answers
588 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
215 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
496 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 ...
0
votes
1answer
47 views

How can I show/access XSLT variable in Content Query web Part pane?

I am using Content Query WebPart to display one item only on home page from the Posts list. I need to display the data based on three conditions: 1) if "Display on home page" check box is checked 2) ...
0
votes
1answer
243 views

How to get current user email id or login name in XSLT?

I am using office 365, and trying to get current user email id or login name in XSLT. A similar question is asked here. How can I do?
0
votes
1answer
38 views

Search Result - xslt - url

I have following in XLST to display URL <td class="ms-vb" style="width: 257px"> <a href="{url}"> <xsl:value-of select="url"/> </a> </td> ...
0
votes
1answer
45 views

Changing XSL View not working

I have on my site a Business Data Connectivity list with a field which equals some urls. I found some internet links to change the url text to the image which the text points on. But it's not working....
0
votes
1answer
165 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
31 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
26 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 field....
0
votes
1answer
82 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
136 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
200 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
79 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
134 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 columns,...
0
votes
1answer
123 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
125 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
25 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
105 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
38 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;')) = 'IT-...
0
votes
1answer
87 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
19 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
125 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
1k views

How to use XSLT in sharepoint

I am new to XSLT coding in SharePoint, 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 title, name, Id, salary, ...
0
votes
1answer
643 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
140 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 select="../../../Cascade/Rows/Row/@Title@DocumentCategory=../../../DocumentCategory/Rows/Row/@...
0
votes
1answer
109 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
108 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
293 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
88 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
130 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
143 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
475 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
243 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
281 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
267 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) *Testing(...
0
votes
1answer
260 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
355 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
259 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
59 views

Basic xslt: Hiding slots created from custom xslt

I've followed and managed to successfully implement this: http://www.entwicklungsgedanken.de/2008/05/18/add-the-icon-of-the-file-type-to-a-custom-xsl-template-when-using-the-contentbyquerywebpart-...