---
title: DTD Node Kind Constants
framework: foundation
role: collectionGroup
role_heading: API Collection
path: foundation/dtd_node_kind_constants
---

# 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 doc:nsxmldtdnode/1806486-setdtdkind method.

## Topics

### Constants

- [XMLDTDNode.DTDKind.general](foundation/xmldtdnode/dtdkind-swift.enum/general.md)
- [XMLDTDNode.DTDKind.parsed](foundation/xmldtdnode/dtdkind-swift.enum/parsed.md)
- [XMLDTDNode.DTDKind.unparsed](foundation/xmldtdnode/dtdkind-swift.enum/unparsed.md)
- [XMLDTDNode.DTDKind.parameter](foundation/xmldtdnode/dtdkind-swift.enum/parameter.md)
- [XMLDTDNode.DTDKind.predefined](foundation/xmldtdnode/dtdkind-swift.enum/predefined.md)
- [XMLDTDNode.DTDKind.cdataAttribute](foundation/xmldtdnode/dtdkind-swift.enum/cdataattribute.md)
- [XMLDTDNode.DTDKind.idAttribute](foundation/xmldtdnode/dtdkind-swift.enum/idattribute.md)
- [XMLDTDNode.DTDKind.idRefAttribute](foundation/xmldtdnode/dtdkind-swift.enum/idrefattribute.md)
- [XMLDTDNode.DTDKind.idRefsAttribute](foundation/xmldtdnode/dtdkind-swift.enum/idrefsattribute.md)
- [XMLDTDNode.DTDKind.entityAttribute](foundation/xmldtdnode/dtdkind-swift.enum/entityattribute.md)
- [XMLDTDNode.DTDKind.entitiesAttribute](foundation/xmldtdnode/dtdkind-swift.enum/entitiesattribute.md)
- [XMLDTDNode.DTDKind.nmTokenAttribute](foundation/xmldtdnode/dtdkind-swift.enum/nmtokenattribute.md)
- [XMLDTDNode.DTDKind.nmTokensAttribute](foundation/xmldtdnode/dtdkind-swift.enum/nmtokensattribute.md)
- [XMLDTDNode.DTDKind.enumerationAttribute](foundation/xmldtdnode/dtdkind-swift.enum/enumerationattribute.md)
- [XMLDTDNode.DTDKind.notationAttribute](foundation/xmldtdnode/dtdkind-swift.enum/notationattribute.md)
- [XMLDTDNode.DTDKind.undefinedDeclaration](foundation/xmldtdnode/dtdkind-swift.enum/undefineddeclaration.md)
- [XMLDTDNode.DTDKind.emptyDeclaration](foundation/xmldtdnode/dtdkind-swift.enum/emptydeclaration.md)
- [XMLDTDNode.DTDKind.anyDeclaration](foundation/xmldtdnode/dtdkind-swift.enum/anydeclaration.md)
- [XMLDTDNode.DTDKind.mixedDeclaration](foundation/xmldtdnode/dtdkind-swift.enum/mixeddeclaration.md)
- [XMLDTDNode.DTDKind.elementDeclaration](foundation/xmldtdnode/dtdkind-swift.enum/elementdeclaration.md)

## See Also

### Constants

- [XMLDTDNode.DTDKind](foundation/xmldtdnode/dtdkind-swift.enum.md)
