I am looking for the best method of parsing the actual EDIFACT directory files from the UNECE website.
I have managed to write one for the 12A directory using C#, but for older directories such as 96A/B (HTML) and 99A/B (TEXT) it is proving too difficult and time consuming to write a universal parser without having to code version specific rules by checking the file extension to determine which parser needs to be used.
My question is there any parsing library (.NET only) in existence where I can specify how certain files should be parsed/transformed to a different format?
To re-clarify I am not looking to process actual EDIFACT data files, but the source directories themselves.