When you create an XML definition, you can change the namespace prefix and schema location in the XML Editor. You can also add a schema to the namespace.
If you create a target XML definition that has one or more namespaces, you can choose a default namespace. When you run a session, the Integration Service writes the elements and attributes from the default namespace without a namespace prefix.
Do not use “xml” or “xmlns” as a namespace prefix. An “xml” prefix points to the
http://www.w3.org/XML
namespace by default. “Xmlns” links elements to namespaces in an XML schema.
You cannot add a namespace using the XML Editor.
To update a namespace:
Select an element in the Navigator.
Click the Properties tab.
Click the Namespace link.
The Edit Namespace Prefix and Schema Location dialog box appears.
To change the prefix or schema location, select the text you want to change and enter the new value.
To add more than one schema to a namespace, select a schema location and click Add.
A blank schema appears in the namespace Schema Location.
To delete a schema, highlight the schema location and click Delete.
To create a default namespace in the XML target, select a namespace.
All the components from the namespace you select belong to the default namespace in the XML target. When you run a session, the Integration Service does not write the default namespace prefix in the XML target file.