The core search results web part has a setting where you can change the XSL to change the appearance of the search results.
If you want results quickly, use the following XSL first to see what XML is return by the system. This will give you more insight in what is going on and will let you check if the data that you expected is returned by the server.
<?xml version="1.0" encoding="UTF-8"?><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>
You can then use an online tool like this http://markbucayan.appspot.com/xslt/index.html which can show the XSLT result immediately.
Geen opmerkingen:
Een reactie posten