The DOM and SAX models for handling XML data
There are hundreds of Perl modules on the CPAN that relate to XML, including parsers to both the SAX and DOM model. In the SAX model, an XML data stream in passed through a parser and events or callbacks are made as specified ahead of time in the program when specific tags or other things happen. SAX is ideal for traversing data to extract a few very specific pieces of information and it can be used on huge data sources. With the DOM model, the whole XML data stream is copies into a memory structure (lists and hashes in Perl) which can then be further manipulated by the program. Great if you're processing a lot of information within a single piece of XML, but won't work if your XML data source is huge.
More about XML and Perl
Associated topic - Web Application Deployment - XML, DTD, XSLT, XHTML and More
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: firstname.lastname@example.org • WEB: http://www.wellho.net • SKYPE: wellho