---
title: dtdKind
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/xmldtdnode/dtdkind-swift.property
---

# dtdKind

Returns the receiver’s DTD kind.

## Declaration

```swift
var dtdKind: XMLDTDNode.DTDKind { get set }
```

## Return Value

Return Value The receiver’s DTD kind. See Constants for a list of valid NSXMLDTDNodeKind constants.

## Discussion

Discussion The DTD kind is distinct from a NSXMLDTDNode object’s node kind (returned by the NSXMLNode kind method).
