Zum Hauptinhalt springen

Read CSV file

XML
<file:readcsv var="var" filename="string" delimiter=";"/>

<file:readcsv /> reads each line of a file, whereby parsing comma-separated values into a multidimensional array.

Comma-separated values represent tabular data. Each line corresponds to a row in the table. Within a line, fields are separated by a delimiter, each field belonging to one table column.

<file:readcsv /> is the complement of the <file:writecsv /> operation.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name file:readcsv
filenamestringFilename/URL file:readcsv
delimiterstringDelimiter (single ASCII character) file:readcsv

Results

BindingTypePredicate
vararrayno-result-propagation