..
/
download
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "s1kd-newddn" "1" "2021-04-16" "" "s1kd-tools"
.hy
.SH NAME
.PP
s1kd-newddn - Create an S1000D Data Dispatch Note (DDN).
.SH SYNOPSIS
.IP
.nf
\f[C]
s1kd-newddn [options] <files>...
\f[R]
.fi
.SH DESCRIPTION
.PP
The \f[I]s1kd-newddn\f[R] tool creates a new S1000D data dispatch note
with the code, metadata, and list of files specified.
.SH OPTIONS
.TP
-#, --code <code>
The code of the new data dispatch note, in the form of
MODELIDENTCODE-SENDER-RECEIVER-YEAR-SEQUENCE.
.TP
-$, --issue <issue>
Specifiy which issue of S1000D to use.
Currently supported issues are:
.RS
.IP \[bu] 2
5.0 (default)
.IP \[bu] 2
4.2
.IP \[bu] 2
4.1
.IP \[bu] 2
4.0
.IP \[bu] 2
3.0
.IP \[bu] 2
2.3
.IP \[bu] 2
2.2
.IP \[bu] 2
2.1
.IP \[bu] 2
2.0
.RE
.TP
-\[at], --out <path>
Save the new DDN to <path>.
If <path> is an existing directory, the DDN will be created in it
instead of the current directory.
Otherwise, the DDN will be saved as the filename <path> instead of being
automatically named.
.TP
-%, --templates <dir>
Use the XML template in the specified directory instead of the built-in
template.
The template must be named \f[C]ddn.xml\f[R] inside <dir> and must
conform to the default S1000D issue (5.0).
.TP
-\[ti], --dump-templates <dir>
Dump the built-in XML template to the specified directory.
.TP
-a, --authorization <auth>
Specify the authorization.
.TP
-b, --brex <BREX>
BREX data module code.
.TP
-d, --defaults <file>
Specify the \f[C].defaults\f[R] file name.
.TP
-f, --overwrite
Overwrite existing file.
.TP
-h, -?, --help
Show help/usage message.
.TP
-I, --date <date>
The issue date of the new DDN in the form of YYYY-MM-DD.
.TP
-m, --remarks <remarks>
Set the remarks for the new data dispatch note.
.TP
-N, --receiver-country <country>
The receiver\[aq]s country.
.TP
-n, --sender-country <country>
The sender\[aq]s country.
.TP
-o, --sender <name>
The enterprise name of the sender.
.TP
-p, --prompt
Prompt the user for values left unspecified.
.TP
-q, --quiet
Do not report an error when the file already exists.
.TP
-r, --receiver <name>
The enterprise name of the receiver.
.TP
-T, --receiver-city <city>
The receiver\[aq]s city.
.TP
-t, --sender-city <city>
The sender\[aq]s city.
.TP
-v, --verbose
Print the file name of the newly created DDN.
.TP
--version
Show version information.
.PP
In addition, the following options allow configuration of the XML
parser:
.TP
--dtdload
Load the external DTD.
.TP
--huge
Remove any internal arbitrary parser limits.
.TP
--net
Allow network access to load external DTD and entities.
.TP
--noent
Resolve entities.
.TP
--parser-errors
Emit errors from parser.
.TP
--parser-warnings
Emit warnings from parser.
.TP
--xinclude
Do XInclude processing.
.TP
--xml-catalog <file>
Use an XML catalog when resolving entities.
Multiple catalogs may be loaded by specifying this option multiple
times.
.SS \f[C].defaults\f[R] file
.PP
Refer to s1kd-newdm(1) for information on the \f[C].defaults\f[R] file
which is used by all the s1kd-new* commands.
.SH EXAMPLE
.IP
.nf
\f[C]
$ s1kd-newddn -# EX-12345-54321-2018-00001
\f[R]
.fi
.SH AUTHORS
khzae.net.
gopher://khzae.net/0/s1kd/s1kd-tools/src/tools/s1kd-newddn/doc/s1kd-newddn.1