My technique may seem pretty hard to broadcast with one shot, but here it is:
Step # 1: X12 ------------- [Preboot program] ---> X12 XML Syntax
Step # 2: X12 XML Syntax -> [940 XSLT Analysis] ------> 940 XML
Step # 3: 940 XML --------> [XSLT mapping] ----------> your FF XML
Step # 4: your FF XML ----> [Serialising XLST] ------> your FF
№1: "XML- X12" - , SYNTAX X12, [Pre-Parsing Program] X12.
№2: "940 XML" , 940. [940 Parsing XSLT] - , 940.
№3: [Mapping XSLT] 940 FF, XML.
№4: , [Serialising XLST] FF XML-.
(1) - XSLT, XML/XLST (2) , , ; -)
- 940 FF - Notepad;-) - , - , 3 XLST, -)