Using Namespaces in an XML Output File - 23.1

Spectrum Dataflow Designer Guide

Version
23.1
Language
English
Product name
Spectrum Technology Platform
Title
Spectrum Dataflow Designer Guide
First publish date
2007
Last updated
2024-05-09
Published on
2024-05-09T23:01:03.226155

Namespaces allow you to have duplicate element and attribute names in your output by assigning each element or attribute to an XML namespace.

  1. In Spectrum Enterprise Designer, open the dataflow.
  2. Double-click the Write to XML stage on the canvas.
  3. Click the Fields tab.
  4. Define one ore more namespaces:
    1. In the Prefix column, enter the prefix you want to use to associate an element or attribute with the namespace.
    2. In the Namespace column, specify the URL of the namespace.
    3. Repeat to define as many namespaces as you want to use for the output XML file.
  5. Associate one or more elements or attributes to the namespace.
    1. On the Fields tab, select the element or attribute you want to associate with a namespace then click Modify, or create a new element or attribute by clicking Add.
    2. In the Namespace field, choose the namespace prefix you want to associate with the element or attribute.
    3. Click OK.