none
DVWP - Issue displaying content from "external" data source RRS feed

All replies

  • Hi,

    /_vti_bin/ListData.svc/list return data as xml feed, so you need custom XSLT to custom render for this case.

    Simple xslt for xml feed for your reference.

    <xsl:stylesheet version="1.0"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:atom="http://www.w3.org/2005/Atom"
        exclude-result-prefixes="atom" xmlns:ddwrt2="urn:frontpage:internal">
        
        <xsl:output indent="yes" omit-xml-declaration="no"
            media-type="application/xml" encoding="UTF-8" />
        
        <xsl:template match="/atom:feed" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">
    		<xsl:apply-templates select="atom:entry"/>		
        </xsl:template>
        
        
        
        <xsl:template match="atom:entry">
            <div>
                <h1><xsl:value-of select="atom:title" /></h1>
                <div>
                    <xsl:value-of select="atom:content" />
                </div>
            </div>
        </xsl:template>
    </xsl:stylesheet>

    Best Regards,

    Lee


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by kelsnz Sunday, August 18, 2019 11:30 PM
    Wednesday, August 14, 2019 9:38 AM
  • Thanks so much for pointing me in the right direction Lee.  Changing it to XSLT helped some information render. 

    Sunday, August 18, 2019 11:31 PM