Hello,
I've tried to use the update expression (http://docs.basex.org/wiki/Updates#update) in basex releases after 7.8, but it always throws the exception: --- code --- - XQJQS001 - Invalid XQuery syntax, syntax does not pass static validation. - Root Cause: - net.xqj.basex.bin.bx: Encountered " <QNameToken> "update "" --------------
I try to run the simple xquery: for $ft in /server return $ft update delete node $ft/formal
Regards Yannis
PS: the copy expression cannot be used inside a for loop , is it?