IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

LoadSchema Method

Loads a schema file describing a Transaction Set.

Syntax

async x12validator.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) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 JavaScript Edition - Version 20.0 [Build 8262]