Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Please visit
http://www.wellho.net/picture/plx2.html
for the latest update to this page
The DOM and SAX models for handling XML data

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

Next ... random image ... a slide show ... image from list below



WELL HOUSE CONSULTANTS LTD.: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 0800 043 8225 or 01225 708225 • FAX: 0845 8382 405 or 01225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho