EDI x12 -- XML

2005-02-04 Thread Greg Lindstrom
Hello, List-
I am working on automating a system accepting input data in EDI x12 
format and would like to convert it to XML.  Before I start, I thought 
I'd ask if anyone has worked on such a beast.  I have seen work by Chris 
Cioffi on parsing EDI records.  Is anything else out there before I 
either write one or use one that I have written in Perl?

Thanks!
--greg--
Greg Lindstrom   501 975.4859
Computer Programmer  [EMAIL PROTECTED]
NovaSys Health
Little Rock, Arkansas
We are the music makers, and we are the dreamers of dreams.  W.W.
--
http://mail.python.org/mailman/listinfo/python-list


Re: EDI x12 -- XML

2005-02-04 Thread Paul Rubin
Greg Lindstrom [EMAIL PROTECTED] writes:
 I am working on automating a system accepting input data in EDI x12
 format and would like to convert it to XML.  Before I start, I thought
 I'd ask if anyone has worked on such a beast.  I have seen work by
 Chris Cioffi on parsing EDI records.  Is anything else out there
 before I either write one or use one that I have written in Perl?

I wrote a thing like that a long time ago.  As a pure coding task,
it's not that hard.  The main hassle is having the appropriate segment
and element dictionaries for the docs you're trying to parse
(comparable to XML DTD's).  Maybe they're online someplace now.  The
main thing needing special code was the HL segment, which has a
recursive structure, but even that's such a big deal.

I don't know why you want to do this, but if you have a use for it, go
for it.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: EDI x12 -- XML

2005-02-04 Thread Satchidanand Haridas
Hi,
In case you weren't aware of the pyx12 project on sourceforge.  The 
project summary on sourceforge.net  
(http://sourceforge.net/projects/pyx12/) says the following and I quote:

pyx12 is a python based ANSI X.12 to XML EDI translator and validator. 
It is designed to be a step in the conversion of a X12 transaction to 
back-end database process. It can convert to and from an XML 
representation of the X12 document. 

fyi.
thanks,
Satchit

Satchidanand Haridas (sharidas at zeomega dot com)
ZeOmega (www.zeomega.com)
Open  Minds' Open Solutions
#20,Rajalakshmi Plaza,
South End Road,
Basavanagudi,
Bangalore-560 004, India

Greg Lindstrom wrote:
Hello, List-
I am working on automating a system accepting input data in EDI x12 
format and would like to convert it to XML.  Before I start, I thought 
I'd ask if anyone has worked on such a beast.  I have seen work by 
Chris Cioffi on parsing EDI records.  Is anything else out there 
before I either write one or use one that I have written in Perl?

Thanks!
--greg--
Greg Lindstrom   501 975.4859
Computer Programmer  [EMAIL PROTECTED]
NovaSys Health
Little Rock, Arkansas
We are the music makers, and we are the dreamers of dreams.  W.W.

--
http://mail.python.org/mailman/listinfo/python-list