Search

Hello, where the date in the XPath below refers?

/data/test/entry[date:day-in-month($day) = date:day-in-month(date)]

I try to select all entries that has same weekday than given in $day-parameter.

Where I could find documentation about these kind things? I mean what refers and where.

I think it is a namespace of EXSLT date module.

It was just my mistake. It should have been date:day-in-week(), not date:day-in-month().

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details