DOC_TYPE

The DOC_TYPE element can be used to override the document type definition (DTD) in the main template.

Syntax

<DOC_TYPE>
  [ <NAME> name </NAME>]
  [ <EXTERNAL_ID> externalId </EXTERNAL_ID>]    
  [ <SYSTEM_ID> systemId </SYSTEM_ID>]
</DOC_TYPE>

Child elements

The DOC_TYPE element may contain the following child elements:

Usage example

<DOC_TYPE>
  <NAME>HTML</NAME>
  <EXTERNAL_ID>-//W3C//DTD HTML 4.01//EN</EXTERNAL_ID>
  <SYSTEM_ID>http://www.w3.org/TR/html4/strict.dtd</SYSTEM_ID>
</DOC_TYPE>
In this example, the DTD in the main template would be overwritten with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">

Parent elements

This element is a child of one of the following elements: