O'Reilly logo

XML and Perl by Ilya Sterin, Mark Riehl

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

XML::LibXSLT Perl Module

The XML::LibXSLT Perl module was written by Matt Sergeant and is based on the GNOME Project’s libxslt C library. The libxslt C library is a fast, stable, and portable XSLT processor library. Another important feature is that it strictly follows the XSLT standard. Let’s take a look at an example that uses the XML::LibXSLT Perl module.

XML::LibXSLT Perl Module Example

This example will demonstrate how to use a Perl XSLT processor to convert an XML document into an HTML document. Depending on your requirements, this process can be performed offline, or it can reside on a web server to produce HTML documents based on dynamically generated XML documents.

Input XML Document Format

For this example, let’s assume that we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required