Net.Leksi.Edifact
1.0.0
dotnet add package Net.Leksi.Edifact --version 1.0.0
NuGet\Install-Package Net.Leksi.Edifact -Version 1.0.0
<PackageReference Include="Net.Leksi.Edifact" Version="1.0.0" />
paket add Net.Leksi.Edifact --version 1.0.0
#r "nuget: Net.Leksi.Edifact, 1.0.0"
// Install Net.Leksi.Edifact as a Cake Addin #addin nuget:?package=Net.Leksi.Edifact&version=1.0.0 // Install Net.Leksi.Edifact as a Cake Tool #tool nuget:?package=Net.Leksi.Edifact&version=1.0.0
Attention! This article, as well as this announcement, are automatically translated from Russian.
Net.Leksi.Edifact
The Net.Leksi.Edifact library is designed to convert messages from the EDIFACT format to XML and vice versa. The library also contains a number of utilities for creating a working environment.
All classes are contained in the Net.Leksi.Edifact
namespace.
The following functionality is available.
- EdifactDownloaderCLI: preparation of a command line application for downloading specifications from the site UNECE with converting them into a set of XML schemas, which are subsequently used as a grammar, and to check data and structure restrictions for the translator between formats.
- EdifactMessageCustomizerCLI: preparation of a command line application for editing the specification of a standard message (customization) for the needs of an agreed exchange between specific parties. This includes reducing the set of segments used and changing data restrictions.
- EdifactMessageVisualizerCLI: template command line application for visualizing the specification of a standard or abbreviated message in the form of a tree of segments and groups of segments.
- EdifactParser: translation of the incoming flow of the exchange session (interchange) into events:
- start of the session;
- beginning of the functional group (if any);
- the beginning of the message, the handler must provide a stream for writing the XML document received from the message;
- end of message;
- end of the functional group (if any);
- end of the session.
- EdifactBuilder: broadcasting calls of the corresponding methods to the specified outgoing stream of the exchange session:
- start of the session;
- beginning of the functional group (if any);
- message transmission, the sender provides a stream to read the XML document for translation into the message;
- end of the functional group (if any);
- end of the session.
- EdifactParserCLI: template command line application for translating the exchange file into XML files.
In addition to the library, the working environment includes a directory of XML schemas containing schemas obtained from downloaded specifications, as well as custom schemas. More details...
Customization is carried out using a script, which is an XML schema of a special structure. More details...
The structure of XML documents is described Here.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Hosting (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Net.Leksi.Streams.Abstraction (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 150 | 4/6/2024 |