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 2 of 2

Thread: How to Display Category Name Only ??

  1. #1
    steven is offline Junior Member
    Join Date
    Jan 2011
    Posts
    14

    Default How to Display Category Name Only ??

    I'm currently using the following code to display the Category Name and Description:
    <xsl:value-of select="aspdnsf:EntityPageHeaderDescription($Entit yName, $EntityID)" disable-output-escaping="yes" />

    Below that, I'd like to display the Category Name only. Any suggestions how to only show Category Name?

    Thank you.

  2. #2
    steven is offline Junior Member
    Join Date
    Jan 2011
    Posts
    14

    Default

    In case anyone else is needing to display the category only, here is the solution I found in the forums. This code worked for me:

    <xsl:value-of select="aspdnsf:GetMLValue(/root/EntityHelpers/*[name()=/root/Runtime/EntityName]/descendant::Entity[EntityID=/root/Runtime/EntityID]/Name)" disable-output-escaping="yes" />