## writeDtdToFile

Description

Java type: `org.apache.ddlutils.task.WriteDtdToFileCommand`

Creates a DTD that specifies the layout for data XML files.
This sub task does not require a database connection, so the `dataSource` sub element of the enclosing task can be omitted.

Parameters

outputfile : File (required)

Specifies the name of the file to write the DTD to.

failonerror : boolean

Specifies whether the execution shall stop if an error has occurred during the task runs.
By default execution will be stopped when an error is encountered.

Nested elements

©2005-2007 Apache Software Foundation