[ADD] XQuery: admin:write-log($string). Closes #1022