# InlineSchema Property
> Version: _Available or changed with runtime version 1.0._
Specifies whether an XML schema definition should be included inside an XML document.
## Applies to
 Xml Port
## Property Value
True if the XML schema definition should be included in the XML document; otherwise, false.
## Syntax
```al
InlineSchema = true;
```
## Remarks
Inline schemas are XML schema definitions that can be included inside XML instance documents instead of importing it from an external source. Like an external schema, an inline schema can be used to verify that the XML document instance matches the schema constraints.
Inline schemas can be useful in many situations. You can use inline schemas in the following situations:
 When the architecture uses internal DTDs, and the developers wants to preserve that design pattern.
 When it is difficult to access external files or URLs. For example, when there are security or platform restrictions.
 When there is so much diversity in the XML document and the schema. The document is easier to process if the schema is inside the XML document.
## Related information
devenv-properties
XMLport Data Type<../methods-auto/library>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-inlineschema-property, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/developer/properties/devenv-inlineschema-property/
