Perl XML::LibXML by Example¶
The XML::LibXML Perl module is a wrapper around the libxml2 parser library which is written in C. This tutorial uses example code to introduce the features of XML::LibXML and the ways in which you can use the module. The example scripts and XML documents are available as a ZIP file download.
Get started with a basic example or jump directly to a specific topic using the Table of Contents.
- A Basic Example
- XPath Expressions
- The Document Object Model
- Working with XML Namespaces
- Working with HTML
- Installing XML::LibXML
The primary target for this project is the set of HTML pages. Alternate formats are available but may be missing some elements or features which are present in the HTML:
Corrections and Updates¶
If you find this document useful please link to it from your blogs, tweets, Stack Overflow answers etc. The canonical URL for linking is http://grantm.github.io/perl-libxml-by-example/.