...
daffodil parse (-s <schema>... [-r <root> [-n <namespace>]] [-p <path>] | -P <parser>) [-D[{namespace}]<variable>=<value>...] [-o <output>] [-V <validationMode>] [-c <configFile>] [infile]
Options
Long | Short | Arguments | Description |
---|---|---|---|
--schema | -s | <schema> | The annotated DFDL schema to use to create the parser. This option may be supplied multiple times for multi-schema support. This option cannot be used with the --parser option. |
--root | -r | <root> | The root element of the DFDL schema to use. This must be one of the top-level elements of the schema defined with --schema. This requires the --schema option to be defined. If not supplied, the first element of the first schema defined with --schema is used. |
--namespace | -n | <namespace> | The namespace of the root element. Requires the --root option. |
--path | -p | <path> | The path to the node from the root element to create the parser from. |
--parser | -P | <parser> | Use a previously saved parser, created using the save-parser subcommand. This option cannot be used with the --schema option. |
-D | <variable>=<value> | Variables to be used when parsing. The variable can be prefixed with {namespace} to define which namespace the variable belongs in, for example:
| |
--output | -o | <output> | Write output to a give file. If the option is not given or is -, output is written to standard out. |
--validation-mode | -V | <validationMode> | The validation mode. 'on', 'limited' or 'off' |
--config | -c | configFile | XML file containing configuration items, such as external variables or Daffodil tunables. |
[infile] | Input file to parse. If not specified, or is a value of -, reads from standard in. In supplied, this must be the last option on the command line. | ||
--version | Display the version of Daffodil. | ||
--help | Display help message. |
...
daffodil unparse (-s <schema>... [-r <root> [-n <namespace>]] [-p <path>] | -P <parser>) [-D<variable>=<value>...] [-o <output>] [-V <validationMode>] [-c <configFile>] [infile]
Options
Long | Short | Arguments | Description |
---|---|---|---|
--schema | -s | <schema> | The annotated DFDL schema to use to create the parser. This option may be supplied multiple times for multi-schema support. This option cannot be used with the --parser option. |
--root | -r | <root> | The root element of the DFDL schema to use. This must be one of the top-level elements of the schema defined with --schema. This requires the --schema option to be defined. If not supplied, the first element of the first schema defined with --schema is used. |
--namespace | -n | <namespace> | The namespace of the root element. Requires the --root option. |
--path | -p | <path> | The path to the node from the root element to create the parser from. |
--parser | -P | <parser> | Use a previously saved parser, created using the save-parser subcommand. This option cannot be used with the --schema option. |
-D | <variable>=<value> | Variables to be used when unparsing. The variable can be prefixed with {namespace} to define which namespace the variable belongs in, for example: | |
--output | -o | <output> | Write output to a give file. If the option is not given or is -, output is written to standard out. |
--validation-mode | -V | <validationMode> | The validation mode. 'on', 'limited' or 'off' |
--config | -c | configFile | XML file containing configuration items, such as external variables or Daffodil tunables. |
[infile] | Input file to unparse. If not specified, or is a value of -, reads from standard in. In supplied, this must be the last option on the command line. | ||
--version | Display the version of Daffodil. | ||
--help | Display help message. |
...