Yep, Daffodil handles both deserialization and serialization (DFDL calls them "parse" and "unparse", respectively). Using the CLI, you can unparse XML using the "unparse" subcommand and provide the XML as the input, for example:
# Parse CSV to XML and save to file $ daffodil parse --schema CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd CSV/src/test/resources/com/tresys/csv/data/simpleCSV.csv > simpleCSV.csv.xml # Unparse that XML back to CSV $ daffodil unparse --schema CSV/src/main/resources/com/tresys/csv/xsd/csv.dfdl.xsd simpleCSV.csv.xml - Steve On 08/08/2018 07:27 PM, Roberts, Amy L2 wrote: > Hello, > > I'm interested in both serialization and deserialization of custom binary > data sets. > > My understanding is that daffodil handles deserialization of data into xml - > as > illustrated in the nice examples at https://daffodil.apache.org/examples/. > > Does anyone know if daffodil handles serialization, as well? > > Thanks, > > Amy >
