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: Subcategory description/summary locale?

  1. #1
    PeterG2 is offline Junior Member
    Join Date
    Apr 2009
    Posts
    11

    Default Subcategory description/summary locale?

    Hi everyone, i have a page that displays all subcategories from a given main category.
    For each subcategory i want to display it's Description or Summary.
    This is somewhat already achieved since the description/summary is displayed...trouble is that all locale's are displayed.
    The code i use in the XmlPackage:

    Code:
    <xsl:value-of select="aspdnsf:GetMLValue(Summary)" disable-output-escaping="yes" />
    or

    Code:
    <xsl:value-of select="Description" disable-output-escaping="yes"/>
    Is there a way to make GetMLValue "aware" of locale settings or is there another way (another function maybe?) to achieve this?
    Thanks in advance!

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    aspdnsf:GetMLValue is the extension function that returns the localized value. Were the description and summary entered in through the admin section or some other method like an excel import, wsi, or directly sql insert. The only reason that it would be returning all locales is if the xml structure was somehow in an incorrect format.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>