Altova XMLSpy 2024 Enterprise Edition

Set Target Namespace

Home Prev Top Next

The Set Target Namespace command enables a target namespace to be set for a taxonomy document. Clicking the command pops up the Set Target Namespace dialog (screenshot below). In it you can enter the desired target namespace and a prefix for it. Click OK to finish.


The target namespace will be defined and it will also be declared:


<xs:schema targetNamespace=""

xmlns:ns1="" >




In the listing above, the target namespace is defined with the targetNamespace attribute and it is then declared with a prefix of ns1.


© 2018-2024 Altova GmbH