Jump to content

raks

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by raks

  1. Hello,

     

    My stylesheet failed to compile for this error: XPTY0020: Cannot select a node here: the context item is an atomic value at this line:

    <xsl:when test="$event[substring-before(start/datetime, 'T')=$dateJour]">

    Here is all the code of the template: http://pastebin.com/fmPUHGpR. The error is on line 20.

    Yesterday, I search on a lot of websites and forums who says to put a global variable outside the for-each. $event is a global variable. I try to put event/start/datetime in a global variable but I still have the error.

     

    Could you please help me?

×
×
  • Create New...