Skip to Content
XML and Perl
book

XML and Perl

by Mark Riehl, Ilya Sterin
October 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
9h 40m
English
Sams
Content preview from XML and Perl

Chapter Roadmap

This chapter focuses on generating XML documents from a number of data sources. So far, you have learned how to parse and process XML, but I haven’t discussed the actual source of XML data. How do you create or generate an XML document? In this chapter, I will discuss several approaches to generating XML documents. During the course of this discussion, I will present examples of programs that generate XML data from a number of sources. I’ll show how to generate XML using simple print statements as well as using Perl modules. The XML::Writer Perl module is used as a primary writer module; however, the XML::Handler::YAWriter Perl module is also presented as a potential alternative to the XML::Writer Perl module.

To run the examples ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Perl and XML

Perl and XML

Erik T. Ray, Jason McIntosh
Programming Web Services with Perl

Programming Web Services with Perl

Randy J. Ray, Pavel Kulchenko
Mastering Perl

Mastering Perl

brian d foy
Perl by Example

Perl by Example

Ellie Quigley

Publisher Resources

ISBN: 0735712891Purchase book