...
Code Block |
---|
|
cd ~/examples
git clone https://github.com/DFDLSchemas/CSV.git
export DAFFODIL_CLASSPATH="~/examples/csv/src/main/resources/:~/examples/csv/src/test/resources/" |
A comma-separated value file is a file that contains lines that are table rows. There is a single row of headers followed by one or more rows of data. The header and data rows are separated into data fields by a comma. For information on the file format, visit Comma-separated Values.
Code Block |
---|
|
$ ./bin/daffodil parse --schema ~/examples/CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd ~/examples/CSV/src/test/resources/com/tresys/csv/data/simpleCSV.csv |
...
Code Block |
---|
|
cd ~/examples
git clone https://github.com/DFDLSchemas/PCAP.git
export DAFFODIL_CLASSPATH="~/examples/pcap/src/main/resources/:~/examples/pcap/src/test/resources/" |
This is the command line.
Code Block |
---|
|
$ ./bin/daffodil parse --schema ~/examples/PCAP/src/main/resources/com/tresys/pcap/xsd/pcap.dfdl.xsd ~/examples/PCAP/src/test/resources/com/tresys/pcap/data/icmp.cap |
...