analysis query xml