Add creation function for csv-row-record
type
#834
Labels
Enhancement
A change or improvement to an existing feature
XQFO
An issue related to Functions and Operators
The
csv-row-record
type used by the CSV XDM mapping provides its fields and an accessor function that can perform field lookup by index or column name. The column names are set when the CSV is parsed. For users who want to make use ofcsv-row-record
(when needing to parse CSVs thatfn:parse-csv
itself cannot handle out-of-the-box, perhaps) we should provide a creation function that accepts the name: index map and the fields for the row and creates acsv-row-record
with a correctly functioningfield
function entry.The text was updated successfully, but these errors were encountered: