Thunder Wiki for Thunder Suite, JSON Thunder & XML Thunder

Page History: Suppressing Optional XML Elements and Attributes

Page Revision: 2015/12/18 12:06

When using XML Thunder to create an XML document, there are several
options for suppressing XML elements and attributes.

Option 1 – Use “Optional Flag Fields”

The XML Thunder toolset has a setting called “Optional Flag
Fields”. When this setting is on, you
will get “xxx-flag” fields next to each optional field in your generated
copybook (note: only optional nodes can be suppressed). The generated
copybook will look as follows.