Namespaces in XML Transform process

Namespaces also affect the XML Transform process in IEC. The same logic is used in IEC 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

Use this option to ignore namespaces when retrieving values from your input file. If selected, the input values are extracted through XML Transform in the same way with the mappings in earlier version.

Add Schema Location

Use this option to set the schemaLocation attribute in your output XML document. This is important if you have schema documents to which you validate the output XML.

Empty namespace

Use this option 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 check box is selected. By default, this check box is cleared.

Namespace in output file

In output instance documents, all used namespaces are declared in the document’s root tag.

Use this option to not write NS of output file.

In XML Transform process settings, the Do not write empty namespace for output file check box is added. By default, this check box is cleared.