This sample is a simple demonstration of the CSV (Comma Separated Values) data set in action. We made a .csv file from the Paris gallery XML file. This .csv file is then used as the data source for the CSV data set. Note that we don't need xpath.js in the head since that is only relevant for XML data sets.
The CSV data set has 2 constructor options, similar to the HTML data set.
var ds1 = new Spry.Data.CSVDataset("path to .csv",{firstRowAsHeaders: false, columnNames:["firstname","lastname"]});