---
title: documentXInclude
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/xmlnode/options/documentxinclude
---

# documentXInclude

Replaces all XInclude nodes in the document with the nodes referred to.

## Declaration

```swift
static var documentXInclude: XMLNode.Options { get }
```

## Discussion

Discussion XInclude allows clients to include parts of another XML document within a document. (Input)

## See Also

### Constants

- [documentTidyHTML](foundation/xmlnode/options/documenttidyhtml.md)
- [documentTidyXML](foundation/xmlnode/options/documenttidyxml.md)
- [documentValidate](foundation/xmlnode/options/documentvalidate.md)
- [documentIncludeContentTypeDeclaration](foundation/xmlnode/options/documentincludecontenttypedeclaration.md)
