Instance Property

DTD

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

Declaration

@property(copy) NSXMLDTD *DTD;

Return Value

An NSXMLDTD object representing the internal DTD associated with the receiver or nil if no DTD has been associated.

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.

- setDTD:

Sets the internal DTD to be 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.