---
title: XMLDocument.ContentKind.text
framework: foundation
role: symbol
role_heading: Case
path: foundation/xmldocument/contentkind/text
---

# XMLDocument.ContentKind.text

Outputs the string value of the document by extracting the string values from all text nodes.

## Declaration

```swift
case text
```

## See Also

### Enumeration Cases

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