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
4 views

DVWP import error

I have made a reusable DVWP WebPart like below. Their are two parameters that let me specify the ListName and WebURL. I am successfully able to import it on a page on a site that has a list called ...
0
votes
0answers
5 views

use complicated values in ParameterBinding's in a DVWP

I know I can do things like: <ParameterBinding Name="SomeParamaterName" DefaultValue="SomeValue"/> But that only allows the user to specify simple strings as values. I want to be able to ...
0
votes
0answers
6 views

ListUrlDir_FALSE not pointing to the correct URL in DVWP when WebURL specified for SelectCommand

I have a question about the ListUrlDir_FALSE XSL paramater in DVWPs. The Setup I have a DVWP with the following in my DataSources configuration: <SelectParameters> ...
0
votes
0answers
9 views

Dynamic XPath Filter?

I'm working on a project that requires a dynamic filter. I have a recursive template that builds the filter structure. Here's the code in that template. <xsl:choose> ...
1
vote
1answer
95 views

Can I output a date in French from an XSL file?

In my XSL file, I set my date like this: <xsl:value-of select="ddwrt:FormatDate(@Date, 2057, 3)" /> This gives me an English date like 07 April 2015. Can I get this date in French?
1
vote
1answer
21 views

XSLT and CQWP : EventDate is always empty

I am trying to create an xsl template for displaying a calendar and am having an issue pulling the event date out of the calendar items. Here is what I have: <xsl:template name="DateCustomStyle" ...
0
votes
0answers
25 views

How do I get the unique values for each group in a grouped list in SP 2010?

I have a Display Item Form which is set up to be a basic table. It is grouped by a field called DateCreated and has both headers and footers enabled. In this list there is a field called CID which ...
0
votes
0answers
29 views

Item Attachment URL from CQWP

My root site has a CQWP that is pulling back items with content type called "Spotlight". These Spotlight lists sit on a few children sites. The idea is to give our users the ability to post something ...
0
votes
0answers
12 views

Is it possible to use custom XSL and still use the “Display search box” option"?

I have found that if I specify any custom XSL on a ListView web part, it is no longer possible to see the "File a file" search box shown below: When the value of "XSL Link" is blank, I can see the ...
0
votes
2answers
61 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
0answers
14 views

XSL disable-output-string conflict with substring

I'm using CQWP and itemstyle to display list item content, for any reason it is not showing any result when substring() is use. Any idea? <xsl:value-of select="substring(@Description,0,35)" ...
2
votes
0answers
61 views

Extremely complicated XSLT for a huge list of information

Which, I realize, is not the greatest title in the world, but I'm not sure what else to call this. So, the list data looks a little like this: More or less. Basically, a set of products are ...
0
votes
0answers
43 views

How to work with the Content Query Web Part (CQWP) & XSLT

I have been using SharePoint for a few years now, but limit of my skills include anything I can do in the browser and some stuff using Designer (Branding, Workflows). I know how to use the CQWP to ...
0
votes
1answer
23 views

Why won't list view display when <xsl:if> element is used?

I have a list of contacts in SharePoint 2010 that I want to display in 3 different tables based on a TablePos attribute using a custom stylesheet. The TablePos attribute can have a value of Left, ...
0
votes
0answers
14 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
0answers
14 views

System.BadImageFormatException after adding line to XSLT for a DVWP

I'm getting a peculiar error after adding a line to my XSLT used in my DVWP. I can't paste all my XSL here but let me explain like so: I have an .xslt file with 284 lines My DVWP references it ...
0
votes
1answer
15 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
0answers
21 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
37 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
59 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
20 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
44 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
24 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
12 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
30 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
40 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
36 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
29 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
21 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
44 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
24 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
50 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
12 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
86 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
30 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
27 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
58 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
28 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
30 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
61 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
69 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
18 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
77 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
192 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
28 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
23 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
19 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
394 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
153 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
79 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 ...