---
title: XMLNode.Kind.invalid
framework: foundation
role: symbol
role_heading: Case
path: foundation/xmlnode/kind-swift.enum/invalid
---

# XMLNode.Kind.invalid

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

## Declaration

```swift
case invalid
```

## See Also

### Constants

- [XMLNode.Kind.document](foundation/xmlnode/kind-swift.enum/document.md)
- [XMLNode.Kind.element](foundation/xmlnode/kind-swift.enum/element.md)
- [XMLNode.Kind.attribute](foundation/xmlnode/kind-swift.enum/attribute.md)
- [XMLNode.Kind.namespace](foundation/xmlnode/kind-swift.enum/namespace.md)
- [XMLNode.Kind.processingInstruction](foundation/xmlnode/kind-swift.enum/processinginstruction.md)
- [XMLNode.Kind.comment](foundation/xmlnode/kind-swift.enum/comment.md)
- [XMLNode.Kind.text](foundation/xmlnode/kind-swift.enum/text.md)
- [XMLNode.Kind.DTDKind](foundation/xmlnode/kind-swift.enum/dtdkind.md)
- [XMLNode.Kind.entityDeclaration](foundation/xmlnode/kind-swift.enum/entitydeclaration.md)
- [XMLNode.Kind.attributeDeclaration](foundation/xmlnode/kind-swift.enum/attributedeclaration.md)
- [XMLNode.Kind.elementDeclaration](foundation/xmlnode/kind-swift.enum/elementdeclaration.md)
- [XMLNode.Kind.notationDeclaration](foundation/xmlnode/kind-swift.enum/notationdeclaration.md)
