1) Edit the search core result web part
2) Click on XSL Editor under ‘Display Properties’
3) Copy-Paste following code in editor:
<?xml version="1.0" encoding="UTF-8"?>
<xsltylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xslutput method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<xmp><xsl:copy-of select="*"/></xmp>
</xsl:template>
</xsltylesheet>
Above Lines of code will allow web part to display in XML format
Output for Technical Library Search Core Result web part:
As seen in above screenshot, output XML does not contain data for authorstateddate as a result date is not displayed in search result.
Please follow and like us:
Technical Solutions Professional | Modern Workplace Architect Lead | Microsoft 365 | SharePoint | Power Platform | MS Teams | React
Leave a Reply