Form/Template Fill-in the blanks

Aahz aahz at pythoncraft.com
Mon Jul 27 10:32:53 EDT 2009


In article <4b77a992-370d-4879-88a0-fdd6a23f7c5d at p10g2000prm.googlegroups.com>,
allan  <kawenks at 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 (aahz at 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



More information about the Python-list mailing list