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

Disadvantages of Event-Driven Parsers

Event-driven parsers have several disadvantages compared to DOM- or tree-based parsers.

Event-based parser applications are more difficult to develop than the equivalent DOM-based parser application. In an event-driven parser application, the data is pushed into the application by the parser, so the application must be prepared to accept and process the data using a series of event handler subroutines. The subroutines aren’t difficult to develop, especially after you have a sample application to use as a template, but it does require some time and effort on your part. An application built using a DOM- or tree-based parser behaves a little differently in that the parser builds a tree, and it is the responsibility ...

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