CSVDocument is a CSV parser sending SAX events. The current implementation is designed to be used as a result tree fragment with XT. The content of the CSV document is returned as a table/tr/td tree (for similarity with XHTML) with an additional "pos" attribute allowing to easily define XPath request (such as "table/tr[@pos=2]/td[@pos=3]"). XSLT provides all the flexibility needed to transform this basic schema into customed XML documents. TODO : - encoding handling - customization of the separators