Enumeration

NSXMLNodeKind

NSXMLNode declares the following constants of type NSXMLNodeKind for specifying a node’s kind in the initializer methods initWithKind: and initWithKind:options::

Declaration

typedef enum NSXMLNodeKind : NSUInteger {
    ...
} NSXMLNodeKind;

Topics

Constants

NSXMLInvalidKind

Indicates a node object created without a valid kind being specified (as returned by the kind method).

NSXMLDocumentKind

Specifies a document node.

NSXMLElementKind

Specifies an element node.

NSXMLAttributeKind

Specifies an attribute node

NSXMLNamespaceKind

Specifies a namespace node.

NSXMLProcessingInstructionKind

Specifies a processing-instruction node.

NSXMLCommentKind

Specifies a comment node.

NSXMLTextKind

Specifies a text node.

NSXMLDTDKind

Specifies a document-type declaration (DTD) node.

NSXMLEntityDeclarationKind

Specifies an entity-declaration node.

NSXMLAttributeDeclarationKind

Specifies an attribute-list declaration node.

NSXMLElementDeclarationKind

Specifies an element declaration node.

NSXMLNotationDeclarationKind

Specifies a notation declaration node.