added xquery doc