DocumentTypeDefinition bean attributes

A DocumentTypeDefinition is created using a Spring bean with the following attributes:

Attribute Value Description
id User-defined A unique ID for the bean.
parent xml.schema.dtd.abstract The parent bean.

DocumentTypeDefinition bean properties

The DocumentTypeDefinition bean takes the following properties:

Property Type Mandatory Description
label String Required The clear text label to be used when displaying the Document Type in a list.
id String Required The root element name for the Document Type.
publicId String Required The Document Type unique public ID.
systemId String Required The Document Type system ID.

DocumentTypeDefinition bean example

<bean id="samples.dtd.troubleshooting" parent="xml.schema.dtd.abstract">
  <property name="label" value="Troubleshooting" />
  <property name="id" value="tsTroubleshooting" />
  <property name="publicId" value="-//OASIS//DTD DITA Troubleshooting Samples//EN" />
  <property name="systemId" value="" />


To debug your DocumentTypeDefinition, add the following entry to your file: