Skip to content

component xmltoedi

Raymond Meester edited this page Mar 7, 2023 · 2 revisions

Converts an XML to EDI.

Example

Example When given the following input:

<edi-message>
  <delimiters segment="LB" field="~" component="^" sub-component="!" />
  <CUS>
    <field.1>
      <component.1>John</component.1>
      <component.2>Doe</component.2>
    </field.1>
    <field.2>1901-01-07</field.2>
    <field.3>[email protected]</field.3>
  </CUS>
</edi-message>

The XML to EDI component will yield the following output:

CUS~John^[email protected]

Path

Path can be empty.

Options

This component has no options.

Clone this wiki locally