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

learn more… | top users | synonyms (1)

4
votes
0answers
743 views

Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP

I have a CQWP with the Parameters: Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;| Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;| ImageUrl:{543bc2cf-1f30-...
3
votes
0answers
41 views

XSLT Force Time Zone

Using XSLT, is there a way to show the time for a specific time-zone? e.g. Resolved: <xsl:value-of select="ddwrt:FormatDate(@ResolvedDate, 3081, 2, [TimeZone])"/>
3
votes
0answers
2k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
2
votes
0answers
56 views

CQWP XSLT ddwrt:Today() return PST time zone instead of Local time zone

I am working on CQWP webpart in Office 365(SharePoint Online). I have to get today's date for date comparison. I have use xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" for ...
2
votes
0answers
86 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 ...
2
votes
0answers
159 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 ...
2
votes
0answers
147 views

How to Add External xsl Stylesheet to DispForm.aspx

It isn't too difficult to use xsl to modify the display of items in a list (via a custom fldtypes.xsl file), but can the fldtypes.xsl file also be used to change the display on the `dispform.aspx' ? ...
2
votes
0answers
97 views

get the current lang in xslt

I'm new with XSLT and have a WebPart refiner. In the XSLT, i've the param at the beginning: CurrentLcid <xsl:param name="CurrentLcid"></xsl:param> When i test the value, the value is ...
2
votes
0answers
165 views

XSL returning only XML result

I'm attempting to use a Content Query webpart to display a calendar but instead of getting a styled result I get an XML result that looks like this: <dsQueryResponse> <Rows> <...
2
votes
0answers
255 views

Custom field XSLT Rendering Issue in SP 2007, Works on 2010

I have created a VS 2008 WSP builder solution. IN that i have a custom field which has a XSL for list item view rendering using XSLT. This Solution does not render the image or hyperlink in SharePoint ...
2
votes
0answers
70 views

Linking publishing's xsl files?

I'm working on customization of some ContentByQueryWebPart. This customization consists in defining custom contentquerymain.xsl and itemstyle.xsl file. However, from one customization to another, ...
2
votes
0answers
1k views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
1
vote
0answers
30 views

InfoPath 2013 Conversion to PDF or DOCX

I have an InfoPath 2013 Form. Once the form is completed, on Button click, I want to generate either a PDF or a Word Document. I have done extensive research. SP Designer Workflow works for SP2010 ...
1
vote
0answers
179 views

Getting hyperlink URL and description in custom XSLT with Content Query Web part

I'm having trouble getting the URL and description to show as separate items in SharePoint 2013. I'm trying to display the description as the text of the Link and the URL as the HREF value in the a ...
1
vote
0answers
48 views

Custom XSL – formatting the date column in ItemStyle.xsl

I have a Content Query Web Part in which I am displaying the data from a Blog sub-site. The Item Style being used is "Title and description". Title displays the title of the document. For the ...
1
vote
0answers
76 views

String manipulation in ItemStyle.xsl file for Content query web part

i have image tag in ItemStyle.xsl file with my custom style template, here i have set image "src" attribute <img height="220px;"> <xsl:attribute name="src"> ...
1
vote
0answers
18 views

Put filter on list column using XSL

I want to customize the design of the web part using XSL. But when I apply the XSL file in XSL Link(Miscellaneous) during Edit Page the default behavior of filter disappears. How can I do this in XSL ...
1
vote
0answers
191 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, ...
1
vote
0answers
276 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 ...
1
vote
0answers
160 views

Can you make an XSLT group by itself through lookup?

Recently I figured out this nice grouping template that I will paste below. Now I am wondering: my list is really simple: Title Parent (= lookup to Title of this list) I would like to this list to ...
1
vote
0answers
125 views

How to split people search result into 2 columns?

I followed this discussion. The suggested post by David works only if the sort by is not present. If I have sort in the xslt or if I use the built in sort functionality after the page is rendered then ...
1
vote
0answers
77 views

how to display video through xslt

How to show video through xslt? I have video library uploaded with few videos and description of it. I have to show description and respective video in jquery acccordian format on the page.
1
vote
0answers
104 views

CQWP grouping with custom order

Can anyone show me how to customise the order that the CQWP 'Groups By", We group Project Sites by Project Phases(from each project site List) and that's all good- but we need them in a specific ...
1
vote
0answers
400 views

CQWP with custom XSL not working, cache issues

I'm replacing the default ItemStyle.xsl with a custom xsl file, my xsl file contains the default xsl:stylesheet and a xsl:template looking something like this <xsl:template name="...
1
vote
0answers
470 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 ...
1
vote
0answers
71 views

DataView Webpart Folders

Is there a way to pass the root folder parameter to a page that the DataView webpart consumes? If I have a page, test.aspx with a DVWP on it, it will show all my documents and folders in a list. If I ...
1
vote
0answers
242 views

Is there an option to convert to XSLT view for Calendar Webpart?

I am trying to modify the calendar view of a document library. However, there doesnt seem to be an option for showing the name of the document on the calendar. I would like to have users click on the ...
1
vote
0answers
255 views

Content Query, TaxonomyFieldTypeMulti and XSL transformation

I have something like the following in my Taxonomy Term Store: + [Managed Metadata Service] + Earth (Group) + Continents (Term Set) + Europe (Term) - Italy (Term) - France ...
1
vote
0answers
46 views

Accessing Enterprise Keywords in XSLT

I am trying to put together a custom tag cloud in SharePoint 2010 using Enterprise Keywords as the data source instead of the built-in tags. I've found numerous methods to display and build the tag ...
1
vote
0answers
370 views

Sharepoint 2013 - External List view/edit item in modal dialog

I have an External List, reading from a WCF. When I open an item (view item), I want it to open in a modal dialog. The External Data Source has 'read item' and 'read list' set up from WCF services. ...
1
vote
0answers
242 views

How to show a date in Arabic format?

I have a list which contain a column, "Modified", which contain date and time of an item in the list. When I display that list in my Arabic site then the date is displayed in English format, such ...
1
vote
0answers
298 views

Failed to apply XSLT to the content

I am using "XML Viewer" webpart to display some data from another website. I have applied XSL on it and it works fine on my VM. But when I moved the site to development server, it showed error message ...
1
vote
0answers
513 views

DataFormWebPart and wierd exception

I have web page with four DataFormWebParts that are presenting data from SPList. DataFormWebPart layupt is defined with Xslt. On SharePoint 2007 everything works correctly. When I migrated site ...
1
vote
0answers
585 views

SharePoint dataformwebpart get document path without document name and folder url

I have a dataformwebpart that queries multiple document libraries. I need to open the document properties in a modal window. I have used the below <a> <xsl:attribute name="...
1
vote
0answers
75 views

Wierd format of Modified date and PublishingStart

Iam having trouble with date formats of these two fields: Modified and PublishingStartDate. They are different in format. Iam attaching how they display on my computer. I have regional settings set to ...
1
vote
0answers
83 views

CQWP pass columns by default

Lately we migrated a website from Sharepoint 2007 to Sharepoint 2010 and one of the issues we faced is that the content query webparts used to work fine but now it doesn't (It's missing some values) ...
1
vote
0answers
3k views

How to link Title to document using XSL?

I have been struggling with this one for a couple days and figured it was time to ask for some help. I'm not sure if this is right forum, so if not please point me in the right direction. Does anyone ...
1
vote
0answers
1k 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 ...
1
vote
0answers
574 views

xslt enable-disable control

I have 2 control : Check box and Choice (Radio Button). On Selecting check box , radio field should be enabled and on unchecked of check box , choice field should be disabled. Can someone help with ...
1
vote
0answers
314 views

Problem with 2 column layout in DVWP

MOSS 2007. I have a joined list with mutliple categories. I have a two column layout where the category is the header for each section with a group of subcategories. The categories are filtered based ...
1
vote
0answers
543 views

How do I make the XML Viewer web part ignore a Doctype element?

I have an issue with a SharePoint 2010 xml viewer webpart and an xml feed that contains DOCTYPE. The xml renders fine when there is no associated XSL with the webpart. When I add XSL to the webpart I ...
0
votes
0answers
12 views

How to edit xsl:value-of tag in SharePoint designer 2013

In SharePoint Designer 2010 it is possible to click on a web part field item in desin view in order to then edit the <xsl:value-of> tag. Does anyone know how to do the same thing (edit the <...
0
votes
0answers
18 views

Changed item style doesn't work as planned

I am looking for a suggestion on what to do about this itemstyle.xsl that I wrote. To give a backstory I am trying to make a tabbed webpart that is dynamic (meaning it feeds from info from a list ...
0
votes
0answers
25 views

Adding filter to the dvwp's joined subview using XSL

I have this one problem in adding filter to the joined subview's header in my dvwp. To begin with (from what i understood), the template that handles the dvwp headers is as below <xsl:template ...
0
votes
0answers
21 views

Difference between dsQueryResponse and xpath

I noticed in the XSL of the Sharepoint page that im currently working on, i saw these 2 <xsl:variable name="Source1" select="/dsQueryResponse/listName1/Rows/Row"/> and <xsl:variable name="...
0
votes
0answers
30 views

List/library view web parts can not be viewed by anonymous users if XSL is applied

The institution I work for has their public-facing website built in SharePoint 2010. We are working on upgrading it to 2013. On our 2013 test server I have an issue where anonymous users can't see ...
0
votes
0answers
19 views

Where does seattle.master load main.xsl/internal.xsl

This week I ran into an issue on my internal environment recently after it was 'upgraded' to SharePoint 2013 but also had a custom master page applied(I don't control any of this). I had pages with ...
0
votes
0answers
10 views

Setting up variable for 2nd list in DVWP

Say if i have a DVWP, made from a linked data source of 3 SP lists (call it A, B and C), and in the XSL codes, on the header part, i have the variable parameters for list A configured in it <xsl:...
0
votes
0answers
36 views

Get Attachment URL via ItemTemplate XSLT

I am using a CQWP to query a list. This list has attachments that I want to display. I have created a custom xsl:template in ItemStyle.xsl, but I can't figure out how to get an attachment's URL. I ...
0
votes
0answers
14 views

How to hide CQWP's title when it returns no result?

I'm working on SP2013 on site, and i've had some troubles whith the CQWP. Thanks to @Trenton Mak (When a CQWP returns no results, zones are shifted), my zones are not shifted anymore. But now, i ...