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::Sablotron Perl Module

This example demonstrates how to use the XML::Sablotron Perl module. Sablotron is an open source multi-platform XML toolkit that was developed in C++ by the Ginger Alliance Open Resource Center (http://www.gingerall.com ).

The Sablotron toolkit implements an XSLT processor, a DOM parser, and the XPath standard. This toolkit provides extensions and APIs for several programming languages, and this toolkit is the basis for the XML::Sablotron Perl module that was developed by Pavel Hlavnicka.

XML::Sablotron Perl Module Example

Let’s take a look at a Perl program that utilizes the XML::Sablotron module. In this example, we will filter an XML document by removing particular elements and generate another XML document ...

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