IPWorks EDIFACT 2020 Python Edition

Questions / Feedback?

output_format Property

The format of the output data.

Syntax

def get_output_format() -> int: ...
def set_output_format(value: int) -> None: ...

output_format = property(get_output_format, set_output_format)

Default Value

0

Remarks

This property specifies the format of the output data. The value set here, along with input_format, determines how the data is converted when translate is called.

Possible values are:

  • 0 (ofXML)
  • 1 (ofJSON)
  • 2 (ofEDIFACT)
Before calling translate, both input_format and output_format must be specified. Translation from XML or JSON to EDI and vice versa are supported. If input_format is ifXML or ifJSON, output_format must be an EDI format. Similarly, if input_format is an EDI format, output_format must be ofXML or ofJSON.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDIFACT 2020 Python Edition - Version 20.0 [Build 8209]