Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: v9 product summary on entity.____.xml

  1. #1
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default v9 product summary on entity.____.xml

    Hello, Hoping for some assistance here.
    in v8 I placed this code
    HTML Code:
        <xsl:value-of select="Summary" disable-output-escaping="yes"/>
    in the xml to display the summary. now I have updated to v9 the summary is not showing, I searched the forums but every solution I try ends up in error what is proper code to replace the above in v9?

    Thanks
    MSX

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    You can try this:
    Code:
    <xsl:value-of select="aspdnsf:GetMLValue(Summary)" disable-output-escaping="yes" />
    As long as the p.Summary field is specified in the select statement of Aspdnsf_GetProducts or whatever stored proc you're using on a certain XMLPackages, then that should show up.

  3. #3
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Well I still cant seem to get it.
    I confirmed that p.Summary is in the Aspdnsf_GetProducts

    C#/VB.NET Code:
          <xsl:template name="SubCatCell">
            <
    xsl:param name="scName"></xsl:param>
            <
    xsl:param name="URL">
              <
    xsl:value-of select="aspdnsf:EntityLink(EntityID, SEName, $EntityName, 0, '')" />
            </
    xsl:param>
            <
    div class="subcatdisp">
              <
    div class="subcatsum">
                <
    a href="{$URL}">
                  <
    xsl:value-of select="$scNamedisable-output-escaping="yes"/>
                </
    a>
                <
    xsl:value-of select="aspdnsf:GetMLValue(Summary)" disable-output-escaping="yes" />
                <
    div class="readmore">
                  <
    a href="{$URL}">Read More</a>
                </
    div>
              </
    div>
              <
    div class="subcatimg">
                <
    a href="{$URL}">
                  <
    xsl:value-of select="aspdnsf:LookupEntityImage(EntityID, $EntityName, 'icon', 0)" disable-output-escaping="yes" />
                </
    a>
              </
    div>
            </
    div>
          </
    xsl:template
    Any ideas?
    Thanks
    MSX

  4. #4
    virtualtap is offline Senior Member
    Join Date
    May 2007
    Posts
    171

    Default

    Okay I got it to work
    Just had to add
    HTML Code:
     <xsl:copy-of select="Summary" />
    to EntityMgr.xml.config
    MSX