Hi,

Do we have an extension or in-built feature available with Saxon 9.3 for updating variable by supporting   4.1 Assignable Global Variables from XQuery Scripting Extension 1.0. I know Zorba does same as in  below link

http://www.zorba-xquery.com/doc/zorba-0.9.5/zorba/html/zorbascripting.html

Regards,
Sandeep