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.

  • Classes
    Class
    Description
    A CsvContentHandler's methods are called to create the output sequences from parsing a CSV, much like a SAX ContentHandler
    This 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 functions fn:parse-csv(), fn:csv-to-xdm(), and fn: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 a parsed-csv-record-structure from 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 headers
     
    Handles generating a simple XML representation of a CSV from a sequence of array items (array(xs:string)*).
    This class implements the function fn:parse-csv(), which is a proposed function for XPath 4.0.