Sunday, March 11, 2012

Convert to XSLT Dataview Error: This web part does not have a valid XSLT stylesheet: Error: A name was started with an invalid character.

From SharePoint designer, when trying to convert a list view to  XSLT Dataview, it resulted with an error: This web part does not have a valid XSLT stylesheet: Error: A name was started with an invalid character.

This web part does not have a valid XSLT stylesheet: Error: A name was started with an invalid character.

Fix:
This happens when you try to convert a list view with "Edit (link to edit item)" field. Remove that field from view and convert to XSLT Dataview again.

IF you must have the edit link, Just add a new column to the dataview and place this XSL.
<TD> 
<a href="http://sharepoint.com/sites/IT/YOUR-List-URL/Forms/EditForm.aspx?ID={@ID}">Edit</a> 
</TD>



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...