M. Edward (Ed) Borasky wrote:
Thanks for the response.
You are right that my CSV file is very much like a database table (used to load database tables). However, my XML document is not so tree-like and actually fits pretty > well into a hash of hashes of arrays.
A non-tree-like XML document? Are you required by the downstream user
to create XML?
Yes, the XML document and its structure is part of a legacy system for
importing data into a database. Crazy hey - we convert a database like
format into a hash of hashes of arrays and then the legacy system reads
the data out of the XML document and inserts it into the database?!?
The initial csv file is a format that I have created to import directly
into the database but unfortunately not all customers are upgrading to
the latest system so we end up having to be backward compatible… the
joys of customer support.