Command "AddDoctype"

Summary

Adds a 'Doctype'-definition to an XML-Document. The command belongs to the group "Document".


Parameters

Parameter Name Description Type
DocRef The name of the reference to the document. documentReference
DocTypeName Doc Type Name. valueexpression
DocTypePublic Doc Type Public. valueexpression
DocTypeURL Doc Type URL. valueexpression

Valid parameter combinations



Description

Adds a "DocType" definition to an XML document.

Examples


Example 1

The example below adds an "DocType" definition named "myDocName" to the document "myDocument".
<AddDoctype DocRef="$myDocument" DocTypeName="myDocName" DocTypePublic="-//Hibernate/Hibernate Mapping DTD 2.0//EN" DocTypeURL="http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd"/>