Prevent XSL namespaces to be rendered in result

Posted on

Working on a SharePoint 2010 site we had a requirement to make the site HTML5 valid. To test this we use the W3C validator on internet. After a lot of improvements we got stuck with just these kind of errors. Attribute xmlns:ddwrt not allowed here.Attribute with the local name xmlns:ddwrt is not serializable as XML […]

XSLT remove HTML comments / attributes / nodes

Posted on

Working on a new SharePoint site, we have to migrate old content to our new SharePoint. The old site was built in Tridion. To clean up HTML, the use of XSLT nifty way to clean things up. Content migration Content migration will be done with the application called Metalogix. This is a very powerful application. […]

SharePoint search core results web part

Posted on

Developing a custom xslt for the search core results web part can be hard. It’s very helpfull to have xml to test it on. To view the raw xml use this xsl in SharePoint Enterprise Search. <xsl:stylesheet version=”1.0″ xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” > <xsl:output method=”xml” version=”1.0″ encoding=”UTF-8″ indent=”yes” /> <xsl:template match=”/”> <xmp><xsl:copy-of select=”*”/></xmp> </xsl:template> </xsl:stylesheet>