DTD Node Kind Constants

Constants that specify the kind and subkind of DTD declaration represented by an NSXMLDTDNode object. You set the DTD-node kind using the setDTDKind: method.

Declaration

enum {
   NSXMLEntityGeneralKind = 1,
   NSXMLEntityParsedKind,
   NSXMLEntityUnparsedKind,
   NSXMLEntityParameterKind,
   NSXMLEntityPredefined,
   
   NSXMLAttributeCDATAKind,
   NSXMLAttributeIDKind,
   NSXMLAttributeIDRefKind,
   NSXMLAttributeIDRefsKind,
   NSXMLAttributeEntityKind,
   NSXMLAttributeEntitiesKind,
   NSXMLAttributeNMTokenKind,
   NSXMLAttributeNMTokensKind,
   NSXMLAttributeEnumerationKind,
   NSXMLAttributeNotationKind,
   
   NSXMLElementDeclarationUndefinedKind,
   NSXMLElementDeclarationEmptyKind,
   NSXMLElementDeclarationAnyKind,
   NSXMLElementDeclarationMixedKind,
   NSXMLElementDeclarationElementKind
};

Topics

Constants

NSXMLEntityGeneralKind

Identifies a general entity declaration.

NSXMLEntityParsedKind

Identifies a parsed entity declaration.

NSXMLEntityUnparsedKind

Identifies an unparsed entity declaration.

NSXMLEntityParameterKind

Identifies a parameter entity declaration.

NSXMLEntityPredefined

Identifies a predefined entity declaration.

NSXMLAttributeCDATAKind

Identifies an attribute-list declaration with a CDATA (character data) value type.

NSXMLAttributeIDKind

Identifies an attribute-list declaration with an ID value type (per-document unique element name).

NSXMLAttributeIDRefKind

Identifies an attribute-list declaration with an IDREF value type (refers to element ID type).

NSXMLAttributeIDRefsKind

Identifies an attribute-list declaration with an IDREFS value type (refers to multiple elements of ID type).

NSXMLAttributeEntityKind

Identifies an attribute-list declaration with an ENTITY value type (refers to unparsed entity declared in document).

NSXMLAttributeEntitiesKind

Identifies an attribute-list declaration with an ENTITIES value type (refers to multiple unparsed entities declared elsewhere in document).

NSXMLAttributeNMTokenKind

Identifies an attribute-list declaration with a NMTOKEN value type (name token).

NSXMLAttributeNMTokensKind

Identifies an attribute-list declaration with a NMTOKENS value type (multiple name tokens)

NSXMLAttributeEnumerationKind

Identifies an attribute-list declaration with an enumeration value type (list of all possible values).

NSXMLAttributeNotationKind

Identifies an attribute-list declaration with a NOTATION value type (name of declared notation).

NSXMLElementDeclarationUndefinedKind

Identifies an undefined element declaration.

NSXMLElementDeclarationEmptyKind

Identifies a declaration (EMPTY) of an empty element.

NSXMLElementDeclarationAnyKind

Identifies an ANY element declaration.

NSXMLElementDeclarationMixedKind

Identifies a declaration of an element with mixed content ((#PCDATA | child)).

NSXMLElementDeclarationElementKind

Identifies a declaration of an element with child elements.