addDocumentType

addDocumentType(name:         String;
                publicId:     String;
                systemId:     String;
                internalSubset: String): JadeXMLDocumentType updating;

The addDocumentType method of the JadeXMLDocument class creates and adds a document type node with the specified parameter values and returns a reference to the created JadeXMLDocumentType node instance.

The addDocumentType method parameters are listed in the following table.

Parameter Description
name Name of the Document Type Definition (DTD)
publicId Public identifier of the external subset
systemId System identifier of the external subset
internalSubset Internal subset