Namespaces in XML Transform process
XML transform makes it possible to run a mapping and transform the body part of the XML message according to the XML mapping. When you add this process step select which mapping you want to run. And then select the two new available options in writing namespaces.
Namespaces also affect the XML Transform process in EC. EC uses the same logic for identifying elements when retrieving values from your input document. The namespaces used for retrieving values are taken from the input schema document in your XML mapping.
Here are XML Transform setup options for namespaces:
Ignore namespace of input file
This option allows you to ignore namespaces when retrieving values from your input file. If selected, the XML transform will extract the input values in the same way as it does with the mappings in earlier version.
Add Schema Location
This option allows you to set the schemaLocation attribute in your output XML document. This is important if you have schema documents that you want to validate the output XML with.
Empty Namespace
This option allows you to write empty namespaces if your input schema has no namespace declaration.
For example: xmlns=""
In XML Transform process settings, the "Do not write empty namespace" checkbox is added. By default, this checkbox is cleared.
Namespace in output file
In output instance documents, all used namespaces will be declared in the document’s root tag.
This option allows you to not write NS of output file.
In XML Transform process settings, the "Do not write empty namespace for output file" checkbox is added. By default, this checkbox is cleared.