Hi, A query can start with xquery version "..." to set a specific version. Is xquery version "3.1"; valid? What should a XQuery processor that understands 3.1 do, if the query starts with xquery version "3.0"; but contains expressions that are only valid in 3.1 and not in 3.0? Benito