---
title: CFXMLNodeTypeCode.document
framework: Core Foundation
role: symbol
role_heading: Case
path: corefoundation/cfxmlnodetypecode/document
---

# CFXMLNodeTypeCode.document

Indicates a document where the data string is NULL and the additional information is a pointer to a CFXMLDocumentInfo structure.

## Declaration

```swift
case document
```

## See Also

### Constants

- [CFXMLNodeTypeCode.element](corefoundation/cfxmlnodetypecode/element.md)
- [CFXMLNodeTypeCode.attribute](corefoundation/cfxmlnodetypecode/attribute.md)
- [CFXMLNodeTypeCode.processingInstruction](corefoundation/cfxmlnodetypecode/processinginstruction.md)
- [CFXMLNodeTypeCode.comment](corefoundation/cfxmlnodetypecode/comment.md)
- [CFXMLNodeTypeCode.text](corefoundation/cfxmlnodetypecode/text.md)
- [CFXMLNodeTypeCode.cdataSection](corefoundation/cfxmlnodetypecode/cdatasection.md)
- [CFXMLNodeTypeCode.documentFragment](corefoundation/cfxmlnodetypecode/documentfragment.md)
- [CFXMLNodeTypeCode.entity](corefoundation/cfxmlnodetypecode/entity.md)
- [CFXMLNodeTypeCode.entityReference](corefoundation/cfxmlnodetypecode/entityreference.md)
- [CFXMLNodeTypeCode.documentType](corefoundation/cfxmlnodetypecode/documenttype.md)
- [CFXMLNodeTypeCode.whitespace](corefoundation/cfxmlnodetypecode/whitespace.md)
- [CFXMLNodeTypeCode.notation](corefoundation/cfxmlnodetypecode/notation.md)
- [CFXMLNodeTypeCode.elementTypeDeclaration](corefoundation/cfxmlnodetypecode/elementtypedeclaration.md)
- [CFXMLNodeTypeCode.attributeListDeclaration](corefoundation/cfxmlnodetypecode/attributelistdeclaration.md)
