What Is a Sequential Access Event-Driven XML Parser?

The topic of sequential access parsers is one of the most interesting concepts in the world of XML parsing. Because XML data is structured and appears in a particular order, these parsers enable us to access this data in the same order or sequence that was defined by the original XML data developer.

Most of the sequential parsers today are event-driven, and that is probably why confusion exists between the two concepts. A sequential access parser can be event-driven, but it doesn’t have to be because it can conform to another model. In the event-driven model, when the sequential parser returns the chunks of XML data to the program, this data is passed to a user-defined function, which then ...

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.