With the {{Code|xquery}} format, CSV records are converted to a sequence of arrays:
* The resulting value will be a map with a {{Code|records}} entry and an optional {{Code|names}} keyentry.* Records are organized as a sequence of arrays. A single An array contains the entries of a single record.* The column names will be available if If {{Code|header}} option is set to {{Code|true}}, a {{Code|names}} entry is generated, which contains an array with the column names.
The CSV map can e.g. be accessed as follows: