Subject:Converting from XML to EDIFACT Author:Tony Lavinio Date:20 Apr 2009 10:21 AM
XQuery can most certainly emit EDI.
In fact, with 'declare option method=EDI' it actually is simpler.
For a good example, do File|Document Wizards|XQuery to EDI, and
then pick your message and version. It will generate a skeleton
XQuery program to write out EDI, and from it you can see just how
to work it.