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

learn more… | top users | synonyms (1)

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 ...
3
votes
0answers
723 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;| ...
2
votes
0answers
19 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])"/>
2
votes
0answers
80 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
124 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
110 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
151 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
233 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
68 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
975 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
24 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
35 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
22 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
11 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
40 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 ...
1
vote
0answers
127 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
233 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
134 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
76 views

get the current lang in xslt

I'm new with xslt and have a web part 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 ...
1
vote
0answers
101 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
68 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
90 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
311 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 ...
1
vote
0answers
407 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
66 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
219 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
242 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
45 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
311 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
205 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
258 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
487 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
527 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 ...
1
vote
0answers
72 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
82 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
913 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
497 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
310 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
539 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
19 views

Exclude non working days between two dates XSLT 1.0

I have a XSL formula here that calculates the age of created item: <xsl:value-of select="(number(ddwrt:DateTimeTick(ddwrt:GenDisplayName(string(ddwrt:Today())))) - ...
0
votes
0answers
16 views

Show Author.Picture in custom XSL

I have the requirement to show the Author Picture in posts using XSL. Can any one please share the code for that? I have already changed the Created By column to the value "Person (with picture)" , ...
0
votes
0answers
33 views

Pull Data Into Individual Web Part

I know what I would like to do, but I do not know how to search to find the best solution. I have a list of URLs on a list that link to stories. I do not want the user to see the entire list of ...
0
votes
0answers
31 views

How to access another list from within content query web part?

I have got two lists: ListA which is a Posts list and ListB which is of type Custom list. I am using content query web part to access ListA which has a lookup to ListB. So far everything is fine, but ...
0
votes
0answers
25 views

How to get previous sibling in ItemStyle.xsl

I am using SharePoint 2010 and am trying to style a content query web part with a custom layout using ItemStyle.xsl. I have it to the point where I can apply the style and have output displayed on the ...
0
votes
0answers
22 views

load next data using content query web part

I am using CQWP to display some items from a custom list. So far it is working fine, but now I would like to add a button where the user can click to load the next batch of data. Like a sort of paging ...
0
votes
0answers
51 views

Remove XSL Rendering from the field schema?

I have created custom field inherited from SPLookupField. After the page is loaded (list view that contains my field), "var WPQ2SchemaData" (some client side schema for all the fields) contains ...
0
votes
0answers
35 views

Javascript redirect page on load with XSL value

I am trying to get a display form to auto redirect to another page. Currently I am using location.replace() which works fine except that each item redirects to another item in a second list. The ID ...
0
votes
0answers
31 views

Get only published pages from pages library in CQWP

I am working on CQWP web part and all weorks fine except one thing. In my CQWP webpart, it rollup all pages of specific content type and display in CQWP webpart. But problem is that it also return ...
0
votes
0answers
96 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!