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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies