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
votes
0answers
63 views

Custom Field definition not working

Crosspost with bounty: http://stackoverflow.com/questions/32093537/custom-field-template-issues/ On SharePoint 2013 I am having troubles with a field on a list which I define through a schema.xml ...
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 ...
0
votes
0answers
29 views

Display attachment filename of list item in a page

I need to display the attachment filename only. I would like to display like this [filename]. It is sharepoint 2013 environment. Thanks!
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 ...
0
votes
1answer
34 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
0answers
21 views

How to change list column title using xsl in sharepoint 2013?

I'm creating custom field type - lets name it 'MyCustomType'. I need to change its column title in List View. I tried to use xslt-transform in my fldtypes_MyCustomType.xsl with no luck - nothing ...
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
519 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
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"> ...
1
vote
1answer
606 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 ...
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
0answers
6 views

Customizing my discussion board list (remove filters & remove "Best Reply” link) cannot find a suitable way to do this

I spend the whole day trying to do things which seems straight forward , but cannot find a suitable solution. Now I added a discussion board app, and I though that I will have regular list views found ...
0
votes
0answers
9 views

Compute columns in SharePoint Designer 2010 AllItems.aspx xslt view

Is that possible to implement following by xsl? I have custom list with 3 columns (LinkTitle, Location, Location2). If column Location2 is empty, it should take values from Location column. ...
1
vote
1answer
906 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 ...
5
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
0answers
7 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
6 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
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
0answers
8 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
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
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
98 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
26 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
27 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
33 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
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 ...
0
votes
3answers
183 views

CQWP: How to count rows per category

I have a CQWP that returns all draft items in a single library, grouped by "Modified by." I would like to display a count of draft items next to each user's name. I know how to edit Header.xsl, and ...
0
votes
0answers
16 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
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
0answers
15 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)" ...
0
votes
0answers
53 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 ...
1
vote
0answers
788 views

How do I create a lookup field for a hyperlink field and display the URL?

I have a regular, out of the box, list of type "Links". I have created a custom list that includes a lookup field to the URL field of the "Links" list. I have created a custom xsl template file for ...
2
votes
0answers
66 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 ...
1
vote
0answers
345 views

Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it

I have created a custom field in SharePoint 2010. I have a xsl file which does the Xslt rendering for item display in list view. I need to add some C# code to the xslt code. So I included code as ...
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
26 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
15 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
16 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
23 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
45 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
79 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 ...
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 ...
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
48 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
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
0answers
26 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
13 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
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
0answers
36 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 ...
1
vote
1answer
42 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 ...