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

Thread: Get day name from XML

  1. #1
    ebijs is offline Junior Member
    Join Date
    May 2010
    Posts
    26

    Question Get day name from XML

    I want to get the day name (day number is also fine) on my Product.xml.config.

    Data is in: root/System/Date

    Any ideas how to extend the xml package?

  2. #2
    mmcgeachy is offline Senior Member
    Join Date
    Sep 2008
    Posts
    174

    Default

    before extending code try
    Code:
    <xsl:value-of select="aspdnsf:FormatDate(/root/System/Date, /root/Runtime/LocaleSetting, 'dddd')" />

  3. #3
    ebijs is offline Junior Member
    Join Date
    May 2010
    Posts
    26

    Default

    Great! Thanks.