setDTD:

Sets the internal DTD to be associated with the receiver.

Declaration

- (void)setDTD:(NSXMLDTD *)documentTypeDeclaration

Parameters

documentTypeDeclaration

An NSXMLDTD object representing the internal DTD to be associated with the receiver.

Overview

When the receiver is written out, this document type declaration appears in the output, just after the XML declaration.

See Also

Managing Document Attributes

characterEncoding

Sets the character encoding of the receiver to encoding,

documentContentKind

Sets the kind of output content for the receiver.

DTD

Returns an NSXMLDTD object representing the internal DTD associated with the receiver.

- isStandalone

Returns whether the receiver represents a standalone XML document—that is, one without an external DTD.

standalone

Sets a Boolean value that specifies whether the receiver represents a standalone XML document.

MIMEType

Returns the MIME type for the receiver.

- setMIMEType:

Sets the MIME type of the receiver.

- URI

Returns the URI identifying the source of this document.

- setURI:

Sets the URI identifying the source of this document.

version

Sets the version of the receiver’s XML.