isStandalone

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

Declaration

- (BOOL)isStandalone

Return Value

YES if the receiver represents a standalone XML document, NO if the “standalone” declaration was not present in the original document and hasn’t been set since.

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.

- setDTD:

Sets the internal DTD to be associated with the receiver.

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.