# UseDefaultNamespace Property
> Version: _Available or changed with runtime version 1.0._
Specifies whether the value in default namespace should be used for both output and input XML documents.
## Applies to
 Xml Port
## Property Value
True if the default namespace should be used; otherwise, false. The default is false.
## Syntax
```al
UseDefaultNamespace = true;
```
For more information about using namespaces with XMLports, see ../devenv-using-namespaces-with-xmlports.
## Related information
devenv-properties
devenv-namespaces-property
devenv-namespaceprefix-property
devenv-defaultnamespace-property

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-usedefaultnamespace-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-usedefaultnamespace-property/
