Chapter 7. Converting CSV Files to and from XML, Revisited

From Mayfield[*] to San Jose and back

[*] Mayfield, USA, was the home of the Cleaver family on the “Leave It to Beaver” show.

This chapter presents an evolution of the CSV utilities developed in Chapters 2 and 3. It builds on the generalized approach presented in Chapter 6 and adds functionality such as handling multiple logical documents in one physical CSV file. This chapter also presents the first instance of a more formal approach to grammar analysis.

This and the next two chapters present the evolution of our techniques for converting to and from XML and legacy file formats. Each chapter presents two utilities: one to convert the legacy format to XML and the other to convert it ...

Get Using XML with Legacy Business Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.