Tagged Questions
0
votes
0answers
45 views
SharePoint XML Visualization
I have a SharePoint document library with about 40 XML files of the same datatype.
I would like to visualize the contained data within SharePoint.
The requirement is that I click on a button next to ...
0
votes
2answers
28 views
Share Point 2010 Content By Query Web Part (ddwrt:FormatDate)
I made a few changes to the XSL file to change how my data is displayed. I am fetching @Created to display on the new custom template.- this works so far.
Now, I am trying to change the format to ...
0
votes
0answers
449 views
RSS Viewer Customization to remove some of the text rendered - SharePoint 2010
I am trying to customize the way the items from an RSS feed is displayed in my RSS viewer web part. I would like to prevent the web part from showing everything after the ellipses (...). For example ...
0
votes
0answers
298 views
use javascript function in xslt 1.0
I have a problem calling javascript function in xslt 1.0.
here my code:
<xsl:stylesheet
version="1.0"
exclude-result-prefixes="x d xsl msxsl cmswrt user"
xmlns:x="http://www.w3.org/...
0
votes
1answer
1k views
no style library in SharePoint site collection, can't reference XSL file
I'm trying to follow this tutorial right here
https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Integrate-a-Slider-with-the-Content-Query-Web-Part-Part-3-Integration-with-the-CQWP.aspx
...
0
votes
1answer
3k views
Sharepoint 2010 - List name and column header display name change through XSL
I have a site collection (localhost) that has two variations (localhost/en/, localhost/fr/).
I have a list in the root web (sampleList) that has the following columns: title, description, date
I ...
0
votes
1answer
2k views
How to edit this XSLT in SharePoint
I have a web part that when I create a page for a restaurant , it will show in a web part. If I do not create any page, the web part is empty.
My question is how to edit this XSLT. If I do not ...
0
votes
1answer
552 views
Concat with Xsl
Let me start off by saying I am a complete noob to Xsl. I am trying to accomplish what I feel is pretty simple, but I am having a hard time understanding the syntax.
I have a variable that gets a ...
4
votes
1answer
2k views
Filtering DVWP with xslt with parameter from connected LVWP in Sharepoint Designer
My setup is as follows:
A custom page on a Sharepoint 2010 site with a list view web part and a Data view web part. When I select an item in the LVWP I want to filter the DVWP with a multi lookup ...
0
votes
1answer
884 views
Limiting Group Items in the Content Query WebPart
Can I Limit Group Items in the Content Query WebPart so that the output is
<h2>Group Header</h2>
<ul>
<li>Item One</li>
<li>Item Two</li>
<li>Item ...
0
votes
3answers
3k views
calculate age in xslt from birthday
I have a variable caled Birthday which will have value like 1/1/1970. I need to calculate the age of a person based on that value. It would basically be the year from currentdate()-year from the ...
0
votes
4answers
423 views
XSLT raising a webpart error because of a list structure
I'm developping a custom CQWP using a custom ContentQueryMain.xsl, I am using a list structure with which I would like to have a separator creating a new list each three items. Here is the code of the ...
2
votes
2answers
2k views
how to output all the xml in xls?
I'm trying to develop a webpart for SharePoint, and it seems I need to learn XSLT to do it, modifying the itemsStyle.xsland customizing a contentquery.webpart.
I'm adding a templates to my current ...
2
votes
2answers
8k views
Edit XSL for SharePoint 2010 Rss Feed WebPart
Greetings,
I'm no XSL/XSLT/XML shark, I have worked with some, though, but I've never touched the rss feed webpart xsl in SharePoint 2010 and have very little knowledge to how it works.
What I am ...
1
vote
1answer
1k views
Javascript code in XsltListViewWebPart Give parsing error
I am working with XsltListViewWebPart, I add my custom xsl and it works good.This xsl contain an anchor tag like that
<a>
<xsl:attribute name="title"><xsl:value-of select="@...
0
votes
2answers
826 views
content query web part xsl regex
I'm trying to transform an incoming text property in my XSL using a regular expression, something similar to:
<xsl:value-of select="replace(@Telephone, '^*.{}')" />
but this does not seem to ...
1
vote
1answer
879 views
web part title in xsl
I'm investigating a possible solution where all web parts on my page should be rendered without a chrome, meaning that the default title portion of the web part will be hidden, but the title supplied ...
0
votes
2answers
811 views
SharePoint XSLT $AllRows Iteration Behaving Unexpectedly On Live SharePoint Site
I'm new to XSLT, and I'm also new to Sharepoint.
I've modified my XLV Web Part so that it has the following xml:
<xsl>
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="...
0
votes
1answer
731 views
xsl server variable returns null
xsl server variable URL returns null. I tried all the other server variable and they all returns nulls.
Is there anything I need to do (like in IIS or web.config) in order for xsl to show server ...
1
vote
1answer
2k views
MOSS Content Query Web part itemstyle.xsl
I have a Content Query Webpart (CQWP) pulling the URL and title from a News links list. The CQWP uses the XSLT style Orange.News.Links defined in ItemStyle.xsl.
I need to sort the title @Title0 field ...
1
vote
1answer
1k views
XML document within Sharepoint webpart codebehind
I am loading an XSLT file in c# sharepoint webpart code as below:
string path = context.Request.MapPath("/_layouts/RSSWeatherXSL.xsl");
XslTransform trans = new XslTransform();
trans.Load(...
2
votes
1answer
4k views
Sharepoint 2007 Data view Webpart custom parameters
I'm sort of new to the custom parameters that can be setup on a DataView Webpart.
There are 6 options:
- None
- Control
- Cookie
- Form
- QueryString
- Server Variable
I think that None, Cookie and ...
0
votes
1answer
156 views
How can you determine what Sharepoint WebPartZone you are in from an XSL file to dynamically output the style?
I have a page with 5 Sharepoint web part zones and an XML web part that can go in any of them. One of them needs different styling than the other 4. Is it possible to have the XSL file determine what ...
0
votes
3answers
4k views
How to display XML returned by SharePoint for web parts?
Lately I've been doing a lot of custom styling in SharePoint by modifying the XSL used to display various web parts. Knowing what the actual XML looks like, including which elements have actual ...
1
vote
2answers
6k views
Compare Author to UserID in SharePoint XSLT
I've got a simple DataFormWebPart where I'm using XSLT to render out the contents of list. I want to compare the @Author field each list item to the current user, however the following won't evaluate ...
1
vote
2answers
3k views
sharepoint webpart with caml and xslt
How can i create a sharepoint webpart that accesses a List, and that can have CAML applied to it.
The CAML is needed to display return only list items that have the field with "Position" > 0
i also ...
0
votes
1answer
4k views
Edit column header of Sharepoint BDC webpart using XSLT
I would like to change database column names of a BDC list webpart using an XSL file.
My SQL query is "Select BATCH_ID...", I want to change that column name "BATCH_ID" to "ID" using XSL. I also ...
9
votes
4answers
9k views
Is there a reference for the SharePoint XSLT extension functions?
There are a couple of different .NET XSLT functions that I see used in the out of the box SharePoint web parts (RSS Viewer and Data View web part).
<xsl:stylesheet
xmlns:ddwrt="http://schemas....
1
vote
5answers
2k views
Sharepoint: Best way to display lists of non-Sharepoint content with “compatible” UI?
I've built a web part for Sharepoint that retrieves data from an external service. I'd like to display the items in a way that's UI-compatible with Sharepoint (fits in with its surroundings.)
I'm ...