Update facility
Mmeumapple9 Feb 2017 19:58 # I have written a function consisting in a copy/modify expression:
declare function local:mine($s)
{
copy $e:= $s
modify (...)
return $e
};
It seems it is not possible to somehow make it recursive ( ... return local:mine($e) ): can anyone confirm this? What is the best way to have a recursive function while using the update facility?
Best,
Giuseppe
CGChristian Grün9 Feb 2017 21:04 # Quoted text · meumapple · 1 line
> It seems it is not possible to somehow make it recursive ( ... return local:mine($e) ): can anyone confirm this?
Could you please give us a full example (input, expected output?
⚡Generated with XQuery