<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/XMLNode/Options/documentXInclude",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSXMLNodeOptions@NSXMLDocumentXInclude"
  },
  "title" : "documentXInclude"
}
-->

# documentXInclude

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

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

## Discussion

XInclude allows clients to include parts of another XML document within a document.

(Input)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)