XML Reference: Siebel Enterprise Application Integration > Using XML Files >

Removing Empty XML Tags


You can to remove empty XML tags from messages for optimization. For example, an XML representation of an integration object might have unused integration components. You can use the siebel_ws_param:RemoveEmptyTags parameter to remove empty tags when making Web service calls.

There are two ways to use the parameter:

Adding the RemoveEmptyTags Parameter to a Property Set in an Input XML File

You add the siebel_ws_param:RemoveEmptyTags parameter to an input XML file manually as a property in the top-level property set.

To add the RemoveEmptyTags parameter to a property set manually

  1. Open the XML file in a text editor.
  2. Add the following text (in bold) to the top-level <PropertySet> tag, as in this example:

    <?xml version="1.0" encoding="UTF-8"?>

    <?Siebel-Property-Set EscapeNames="true"?>

    <PropertySet siebel_undws_undparam_clnRemoveEmptyTags="Y">

    <SiebelMessage>
      ...
      ...
    </SiebelMessage>

    </PropertySet>

  3. Save the XML file.

Adding the RemoveEmptyTags Parameter as a Process Property in a Workflow

You can add the siebel_ws_param:RemoveEmptyTags parameter to a workflow to automate the removal of empty tags. You add the parameter as a process property of the workflow, then as an input argument to the step that reads the XML file. For information on adding workflow process properties and input arguments, see Siebel Business Process Framework: Workflow Guide.

To add the RemoveEmptyTags parameter to a workflow

  1. In Siebel Tools, create and open a workspace.
  2. Edit the workflow process to add the following process property:
    Name
    Data Type
    In/Out

    Remove Empty Tags

    String

    In

  3. Add the following input argument to the workflow step that reads the XML file:
    Input Argument
    Type
    Value
    Property Name

    siebel_ws_param:RemoveEmptyTags

    Process Property

    Y

    Remove Empty Tags

  4. Deliver the workspace, which will compile the changes made above to runtime repository.
XML Reference: Siebel Enterprise Application Integration Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.