Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ralph van Vugt 57 posts 101 karma points
    Dec 17, 2010 @ 12:44
    Ralph van Vugt
    0

    Show specific nodes based on day-of-the-week

    Hi,

    I have a structure like this:

    ParrentNode
    - monday
    - tuesday
    - wednesday
    etc.

    Is it possible to show specific nodes based on the current weekday? Thus show the node Monday on mondays etc.? The nodes should repeat every week, so I can not select them with a datePicker.
    Thanks!
    Ralph

  • Ralph van Vugt 57 posts 101 karma points
    Dec 17, 2010 @ 14:20
    Ralph van Vugt
    0

    Figured it out!

    <xsl:variable name="dayofweek" select="Exslt.ExsltDatesAndTimes:dayinweek()"/>

    returns the daynumber.

Please Sign in or register to post replies

Write your reply to:

Draft