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

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

Check if the user is in a specific SP security group in the XSL for a DVWP?

I know it is possible to see if the user has access to the list with ddwrt:IfHasRights but I'm wondering if there is a way to check if a user is part of a specific security group? I'd like to be able ...
0
votes
0answers
14 views

DVWP, XSLT, XML, plain text fields with HTML string not rendering as HTML string and not HTML the browser renders

I have a list with a multiple lines of text field set to plain text. For each item in the list, for that field I have HTML string like <b>hi</b>. I'm rendering the list using a DVWP with ...
0
votes
1answer
28 views

How to get SharePoint ID given only item URL?

Looking for the simplest possible solution, but needs to be JavaScript/jQuery if at all possible. I have an XML document that I am transforming using XSLT to render an HTML page. This XML document ...
0
votes
0answers
14 views

Condition xsl sharepoint results

I try to create my own display template of results in a searching subsite. If my element's result is an list item I would like to display the value of my column "reference" with a link to the item ...
1
vote
1answer
30 views

Date field won't show with ItemStyle.xsl

I'm pretty new user of SharePoint and i work with SharePoint 2010. I try to show the "StartDate" column of a page in my XSL template but it won't show. I put the column in the webpart configuration ...
0
votes
0answers
19 views

How can I take some user input (html or markdown), transform with XSLT, and write the resulting file to a library?

Not looking for a solution here, just something to get me started in the right direction. I would like to create a page that takes some user input from a textbox (markdown would be cool, but HTML is ...
0
votes
1answer
11 views

Need help rendering .prepend text in SharePoint

Folks, I am trying to use the jQuery .prepend method to display some text on the top of a web part page (underneath the main header). Unfortunately, the text is not rendering across the hole page, ...
0
votes
0answers
17 views

Can't open XSL Editor for RSS Viewer web part

I've added an RSS Viewer web part to a page in SP 2013 Online, and when I edit the webpart and try to open the XSL Editor, I get a console error: Uncaught TypeError: window.showModalDialog is not ...
0
votes
1answer
27 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 ...
1
vote
1answer
27 views

Show more/less in search result with JavaScript and XSLT

I have a metadata with the name "productiondescription", in my advanced search, I want to display this "productiondescription" in the search results. And I had changed srch-Description2 in the code ...
0
votes
0answers
14 views

Date Comparison - Dataview Webpart in XSL

I have a site with Regional settings set for UK English and I'm using the following in xsl to compare a date field with current date value so that I can conditional formatting: ...
0
votes
0answers
11 views

Filter on date linked data source

I have created a data view web part using a linked data source which has some 20 lists. I want to filter this to show items created in last 365 days. As it is a linked data source, it can not be done ...
0
votes
1answer
27 views

Does adding a web part to a page make a copy of the web part definition?

The setup: - Custom Summary Link web part - Custom SummaryLinkMain.xsl - Custom ItemStyle.xsl - JavaScript file that the SummaryLinkMain calls from a separate site collection (an internal CDN) and ...
0
votes
0answers
18 views

FileDirRef Not Working

I am making an XSL template for a CQWP and would like to make a relative URL. @FileDirRef seemed like a good fit for this however it doesn't return a value. Is there something I need to do to make ...
0
votes
0answers
39 views

Prevent SharePoint from rendering email address as hyperlink

I try to render a simple text field value (e.g.: i:w#!|adfs|user@domain.local) as string (plain text) on a list with XSL. By default SharePoint converts everything he thinks that is an email address ...
0
votes
0answers
8 views

Foundation 2010 blog post.aspx: “entire view” of xslt not showing in SP Designer

I can expose the entire view and customize it for the blog's default.aspx page but not the post.aspx page. More Msft bs or is there a fix?
1
vote
0answers
43 views

XSL Picture Library File Location

I'm creating a custom XSL template that can be used to show pictures in a gallery format on any list specified. I am having trouble dynamically getting the image location though. I read the ...
0
votes
0answers
20 views

Embedded CQWP returning XML with GUIDS instead of field names

I'm embedding a CQWP into a custom master page with the following: <WebControls:ContentByQueryWebPart runat="server" ItemStyle="Default" GroupStyle="DefaultHeader" ...
0
votes
0answers
19 views

Unable to display this Web Part. To troubleshoot the problem. - Data View Web Part in o365

I have created a Data View Web Part with 5 levels of grouping and custom XSL. When I tried to refresh the page sometimes it give me error and sometimes it works as expected. I have checked this msdn ...
0
votes
1answer
39 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: ...
1
vote
1answer
22 views

Add new announcement link viewable by permissions

I created a Content query web part on my home page which is from an announcement list from a sub site. I wanted to add the "Add new Announcement" link below it, but only viewable to those who have ...
0
votes
0answers
23 views

Odd issue Data View web part in “Boxed” style

I'm using Data View to pull data from a SharePoint custom list. The view is pulling the correct data. The problem I'm having occurs when I use the "Grouping" feature. When I group by a field, any ...
0
votes
0answers
37 views

Search Result Core Webpart, sort/filter enabled column is not sorting

I am using sp 2010. I have a search core result webpart on a page. I have modify the xslt in sharepoint designer by a dataview webpart. I have make all columns sort/filter enabled. Filtering is ...
2
votes
0answers
52 views

XSLT, regex and RenditionID

I'm sort of new in XSLT, and i need some clues, if you're willing to give me some... What i want: In a CQWP, i want to display items' images, with a certain rendition ID. But, when retrieving the ...
0
votes
0answers
16 views

Cannot load xsl from _layouts in the 12 hive using DataFormWebPart

I'm trying to store intranet wide XSL file in the 12 hive so that it can be accessed in any site collection without duplicating that file. I'm using a standard DataFormWebPart which I switch from ...
1
vote
0answers
45 views

redirect search results to different page

I have one list and search custom search scope is defined for that list. so that it will search only in that list. so the search results will be nothing but the list items! Now My requirement is, ...
0
votes
1answer
123 views

Using xsl stylesheet with List View Web Part to display custom text

I am using a custom xsl stylesheet in Sharepoint 2013 listview webpart using the "XSL Link" property. The list view shows some items based on a filter. I want to display custom text such as "No ...
0
votes
0answers
20 views

How can I eliminate “string;#” from the start of the label text in a DVDropDownList populated from another list?

I'm having trouble migrating a form from a 2010 SharePoint List to a 2013 compaitble SharePoint list after our SharePoint server was upgraded to 2013, and SharePoint designer lost its design view. I'm ...
0
votes
0answers
19 views

XSL how to add a field to View

In Discussion Board Subject View I want to add one field. How could I add this in Sharepoint Designer. I have got this code from Sharepoint designer Subject View: ...
0
votes
0answers
17 views

Problem with parsing value in item style

I implemented content query webpart (CTWQ), which displays all items from a list. Inside Item Style, I pours gained data to a Json Object. This did not worked until I filled a special data inside a ...
0
votes
2answers
192 views

Converting text field to hyperlink via xslt

In my list I have a field for just a regular old text field - all default. It's just a plain, default text field named [TextLink]. And in my fldtypes_custom.xsl file I have included some lines to ...
0
votes
1answer
76 views

How to check if variable is not empty in xslt?

I am using sp 2010. I have a custom search result in xslt. I would like to check if "srportalurl" is not empty before show a ahref. If variable "srportalurl" is empty I would like show only the ...
0
votes
1answer
56 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
40 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
0answers
47 views

Pass Content Query Web Part ToolPart TextBox Value to XSL

I have extended the Content Query Web Part by adding a textbox control ToolPart. This is working, i.e. I am able to see the control, add a value in the textbox and save it. Is it possible to pass ...
0
votes
0answers
49 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
62 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
0answers
59 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
14 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
35 views

Showing Items of Custom List

I created a new custom list then I created new web-part with custom list. I added xsl code for the web-part. I want to five item appears on homepage. If users click on "All Items", they redirect to ...
0
votes
1answer
31 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
0answers
59 views

Custom filter and sort using xslt

Is it possible to use a query string to select items from a list and order them? For instance my page & query string SortFilter.aspx?selection='i13o1,i5o2,i27o3,' (i is for Item, O is for ...
0
votes
0answers
58 views

XSLT on Person field allowing multiple values

I have a content query using custom XSLT that displays the user and his presence icon on the page.I got the XSLT from this link Here's a snippet of how I'm using it: <xsl:variable ...
0
votes
0answers
69 views

Dataview sort order issue

We have a dataview that pulls info from an XML file in a SharePoint library which is used to display a list of results grouped by 2 different dates in ascending order. An issue occurs when the XML ...
0
votes
0answers
51 views

SP2013: Recursively sum a calculated column

I know SharePoint 2010, but this is my first time with 2013 and XSLT. I've got a page with a DVWP that's pulling data via SOAP from another list on the site, and I'm trying to get the sum of an ...
0
votes
1answer
171 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
0answers
41 views

How to retrieve the ISO/original value of a DateTime column in a list using CAML?

I'm using SharePoint Foundation 2013 and I want to retrieve the data in my DateTime column. Is there a way to retrieve the original/raw values or ISO values of a DateTime column using CAML query? ...
1
vote
2answers
40 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: ...
1
vote
0answers
113 views

Search Results XSLT add filename property and render document link

I'm attempting to configure the custom XSL for core results search web-part in 2010. The goal here is: Include File name property as a search target Display Link directly to the file I've ...
0
votes
0answers
28 views

how to get the XSL names of the columns list

I need to add 3 more columns in the list which is shown in XSL. I looked at the webpart properties and there is defined a XSL Link file in the " Miscellaneous" of the web part properties. I opened ...