IPWorks X12 2020 JavaScript Edition

Questions / Feedback?

LoadSchema Method

Loads a schema file describing a Transaction Set.

Syntax

async x12reader.loadSchema(fileName : string): Promise<void>

Remarks

This method parses the File and loads it into an internal schema list. The class will attempt to automatically detect the SchemaFormat.

If the schema file does not exist or cannot be parsed as an EDI schema, the class fails with an error.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks X12 2020 JavaScript Edition - Version 20.0 [Build 7721]