Summary

This chapter contained simple examples that used the Perl print command to generate reports after parsing XML documents. The purpose of this chapter was to show you how to use the sequential Perl XML parser modules. The examples in this chapter provide you with a series of templates (one for each of the major sequential XML Perl parser modules) that can be easily extended to do just about anything you want with the parsed data. Remember, sometimes the difficult part is parsing the data (that is, getting it to a point where you can send it to a report using a Perl print statement).

Now that you actually have access to the data contained inside the XML documents (that is, the contents of the output reports), it would be easy to push the ...

Get XML and Perl 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.