EDI Parsing and Extraction into XML

noahspurrier at my-deja.com noahspurrier at my-deja.com
Sat Sep 23 16:42:18 EDT 2000


Has anyone here done any EDI message data extraction using Python?

We are receiving shipment and inventory info in EDI format 846 and 856
when are sending purchase orders as EDI 850.

I would like to convert the incoming EDI into our own XML format.
The few EDI/XML tools that I have found try to encompass the
entire EDI specification in an XML format. This is not what I want
to do. I just want to extract and map data from a particular
subset of EDI into our XML. Most XML translation tools translate
from XML TO a given format. I want to go the other way.
Any general purpose flat-file text to XML mappers out there?

Suli Ding's doc2xml comes close to what I want:
    http://www.geocities.com/SiliconValley/Platform/4871/
But this does not have source code and is only built for Win32.

Any tips, Pythonian or non-Pythonian are appreciated.

Noah Spurrier
San Francisco


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list