Comparison to Other Modules
XML Tree is similar to the XML::Parser Perl module
except that it:
-
Is over an order of magnitude faster.
XML Tree owes its speed to two things:
using mmap(2) to read the XML file
bypassing conventional I/O and buffering,
and being written entirely in C++ as opposed to having portions in Perl.
Benchmark comparison results are available.
-
Isn't a strict DTD (Document Type Definition) parser.
The goal is to parse XML files fast,
not check for validity.
(You should check the validity of your XML files with other tools.)
-
Offers simple conditional and looping mechanisms
assisting in the generation of dynamic content.
|