---
title: documentValidate
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/xmlnode/options/documentvalidate
---

# documentValidate

Validates this document against its DTD (internal or external) or XML Schema.

## Declaration

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

## Discussion

Discussion (Input)

## See Also

### Constants

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