March 2018 Archives

Update to XML::LibXML Tutorial

I've just updated my tutorial document Perl XML::LibXML by Example to include a section on Working With Large Documents.

This new section introduces the XML::LibXML::Reader API which is a pull-parser style with much lower memory overheads that a traditional DOM parser. It also covers hybrid operation where the Reader API is used to scan through the document and extract sections as DOM fragments for further interrogation via XPath.

About Grant McLean

user-pic Perl hacker since 1995. Coordinator of Wellington.pm in New Zealand.