> The advantage is that every record, which pertains to a detail line, has
> all the header information associated with it on the same record. The
> disadvantage is that you have an awful lot of repetition in your file.
>
> Loops in hierarchical structures act in the same way as tables in a
> database; it is just that you use physical position in the hierarchy to
> relate it to other 'tables' rather than keys.
>

I concur. It is much easier to program loops for all records that exist,
rather than programming a loop until an ID changes. For this very reason, we
introduced into xmlLinguist the ability to add heirarchy into the text file
when translating into XML (and of course "flatting" the document when
translating back into text).

Bryce K. Nielsen
SysOnyx, Inc. (www.sysonyx.com)
Makers of xmlLinguist, the EDI-to-XML Translator
http://www.sysonyx.com/products/xmllinguist



.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to