---
title: Document Content Types
framework: foundation
role: collectionGroup
role_heading: API Collection
path: foundation/document-content-types
---

# Document Content Types

Define document types.

## Overview

Overview You specify one of the NSXMLDocumentContentKind constants in documentContentKind to indicate the kind of content required for document output.

## Topics

### Constants

- [XMLDocument.ContentKind.xml](foundation/xmldocument/contentkind/xml.md)
- [XMLDocument.ContentKind.xhtml](foundation/xmldocument/contentkind/xhtml.md)
- [XMLDocument.ContentKind.html](foundation/xmldocument/contentkind/html.md)
- [XMLDocument.ContentKind.text](foundation/xmldocument/contentkind/text.md)

## See Also

### Constants

- [Input and Output Options](foundation/input_and_output_options.md)
- [XMLDocument.ContentKind](foundation/xmldocument/contentkind.md)
