Working on jython process of xquery