In article <4b77a992-370d-4879-88a0-fdd6a23f7...@p10g2000prm.googlegroups.com>, allan <kawe...@gmail.com> wrote: > >My initial thought was to use: >1. .ini files to declare the EDI configuration > >INI file configuration: >* A "root" INI file indicates other INI files that define each segment >of the EDI document. >* Each segment INI defines the data elements of each segment and the >behavior of the segment (one instance or multiple-instance as in a >loop, sequence order, segment code, etc.) >* Specify data elements as either constant, system function (like >datetime), database field or object method (object being the >segment's) >* Load all the ini configuration into a "template" object. Each >segment ini maps to its own segment object.
This sounds like something you want to use XML for. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "Many customs in this life persist because they ease friction and promote productivity as a result of universal agreement, and whether they are precisely the optimal choices is much less important." --Henry Spencer -- http://mail.python.org/mailman/listinfo/python-list