Cory,
Only getting it to return 0. Here is template code.
Only getting it to return 0. Here is template code.
?xml version="1.0" encoding="utf-8"?
xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:iServerModule="urn:ThePort.CommunitySocialObjects.iServerModule"
xmlns:iUser="urn:ThePort.BusinessObj.iUser"
xmlns:iPartner="urn:ThePort.BusinessObj.iPartner"
xmlns:iPageInformation="urn:ThePortBusiness.XSLProcessing.IXSLPageInformation"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
xmlns:iSocialObject="urn:ThePortBusiness.IXSLSocialObjects"
exclude-result-prefixes="msxsl iServerModule iUser iPartner iPageInformation iSocialObject"
xsl:output method="html" indent="yes"/
xsl:template match="go"
xsl:variable name="SocialObjects" select="iServerModule:IXSLSerialize()"/
div id="business-list"
xsl:for-each select="$SocialObjects/CommunitySocialObjects/List/SocialObject"
xsl:variable name="oSOData" select="iSocialObject:IXSLGetSocialObjectProfile(ID)"/
dl
dt a href="{SiteUrl}"img src="{DefaultImageUrl}" Border="0" width="75" alt="{Name}"//a/dt
dd a href="{SiteUrl}"xsl:value-of select="iPageInformation:UtilTruncateString(Name,40)" //a/dd
dd xsl:value-of select="$oSOData/SocialObjectProfile/RatingNumPositiveOne"/ Local customer endorsements/dd
/dl
/xsl:for-each
/div
/xsl:template
/xsl:stylesheet