appserver: processing of xml QUERY