Hi mashers,
Quick question. I want to be able to use the XPath 2.0 date functions in my mashups.
When I try to call, for example, fn:current-Date() I get an error.
So, if I try something like the following:
<assign outputvariable="$currentDate" fromexpr="current-Date()" />
I get the following run time error:
Error in evaluating expression : XPath syntax error at char 14 in {current-Date()}: Unknown system function current-Date() : EMML Line # 28 : EMML Line # : 13>
Cheers,
Innes
Hi Innes,
Xpath functions are case sensitive. Can you change the xpath function from current-Date() to current-date()
It worked for me, after this change.
Please do let me know if it works.
Smitha.
Hi Smitha,
so many traps for young players ... :) ... and thanks, that worked perfectly.
Cheers, Innes (NZ)
Hi mashers,
Quick question. I want to be able to use the XPath 2.0 date functions in my mashups.
When I try to call, for example, fn:current-Date() I get an error.
So, if I try something like the following:
<assign outputvariable="$currentDate" fromexpr="current-Date()" />
I get the following run time error:
Error in evaluating expression : XPath syntax error at char 14 in {current-Date()}:
Unknown system function current-Date() : EMML Line # 28 : EMML Line # : 13>
Cheers,
Innes