Package com.saxonica.functions.qt4.csv
package com.saxonica.functions.qt4.csv
This package contains classes that implement the new CSV-handling functions defined in the draft XPath 4.0 specifications.
-
ClassesClassDescriptionA CsvContentHandler's methods are called to create the output sequences from parsing a CSV, much like a SAX ContentHandlerThis class implements the function
fn:csv-doc(), which is a proposed function for XPath 4.0.This abstract class provides shared option-handling support used by the functionsfn:parse-csv(),fn:csv-to-xdm(), andfn:csv-to-xml().Parser for CSV files, used by functions csv-to-arrays, parse-csv, and csv-to-xml.Codepoint iterator that provides the following services: (a) reading ahead, making the current and next codepoints available to the caller; (b) normalizing CR and CRLF line endings to a single LF:; (c) maintaining line number and column number.Handles generating aparsed-csv-record-structurefrom a sequence of array items (array(xs:string)*).Implements XPath 4 fn:csv-to-arrays() to parse CSV data from an xs:string into a sequence or arrays, with no interpretation of headersHandles generating a simple XML representation of a CSV from a sequence of array items (array(xs:string)*).This class implements the functionfn:parse-csv(), which is a proposed function for XPath 4.0.