Creating an XML Transform process

Use XML Transform to select mappings and set other options for XML Transform.

  1. Click the Processes tab.
  2. Click + and select XML Transform.
  3. Select a mapping for the XML Transform process.
    You can filter mappings to be used by filtering the Name and Version columns in the XML Transform dialog box.
  4. Specify this information:
    Delete empty elements during transformation (not recommended)
    Select this check box to remove elements that are empty when XML file is generated.
    Example output:
    Disabled(default)
    <Body>
       <data></data>
       <data>Has data and not empty</data>
    </Body>
    Enabled
    <Body>
       <data>Has data and not empty</data>
    </Body>
    
    Stream transformation
    Select this check box to minimize heap or memory usage for expected large XML file output.
    Note: You can use this option to stream the output in an order that is defined in the mapping. This means that the output can differ when it is disabled or not particularly when you have crossed links in the XML schema output.
    Ignore namespace of input file
    Select this check box when the input file has XML namespaces defined and the mapping input schema does not have the corresponding XML namespace defined.
    Do not write empty namespaces
    Select this check box to remove an empty xmlns attribute entry in the XML output.
    Example output:
    Disabled (Default)
    <RootElement xmlns=””>
    Enabled
    <RootElement>
    
    Do not write namespace of output file
    Select this check box so that the namespaces defined in the output schema of the mapping are not written.
    Example output:
    Disabled (default)
    <ns:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns=http://www.altova.com/IPO>
    Enabled
    <ns:purchaseOrder>
    
    Add schema location
    Switch this setting on to explicitly specify the schema location of the XML output by specifying the value in the Schema Location field.
    Schema location
    Specify the schema location. This field is enabled when the Add schema location is switched on.
    Example:
    <ns:purchaseOrder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns=http://www.altova.com/IPO xsi:schemaLocation="http://explicitSchemaLocation/
    ipo.xsd">
    The changes are applied in the specified schema location:
    http://explicitSchemaLocation/
    ipo.xsd
  5. Click Add.