Home arrow Perl Programming arrow Page 2 - XSL Transformation with Perl

Getting started - Perl

Perl may not be as well known as some of the other languages, but it boasts a powerful library of packages and modules that everyone can use to work with XML. In this article, Harish Kamath explains how to get started with the "XML::XSLT" package that allows you to transform XML documents by using XSLT style sheets using Perl.

TABLE OF CONTENTS:
  1. XSL Transformation with Perl
  2. Getting started
  3. My Investment Portfolio
  4. Demystifying the XML::XSLT processor
  5. Error Management
By: Harish Kamath
Rating: starstarstarstarstar / 16
July 25, 2005

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

When it comes to Perl, all roads lead to CPAN -- or one of its mirror sites!

After a quick search for Perl modules that implement the XSL Transformations specification, youíll realize that you have several options. The reason is simple: the open standards, as defined by the World Wide Web consortium, give total freedom to programmers to develop their very own implementation.

Coming back to CPAN, Iíve listed a couple that I found:
 
XML::XSLT: http://search.cpan.org/~jstowe/XML-XSLT-0.48/

XML::Sablotron: http://search.cpan.org/~pavelh/XML-Sablotron-1.01/

Implementations such as XML::Sablotron leverage other languages to deliver faster performance. However, being a core Perl fanatic, Iíll concentrate on the XML::XSLT module, as it is coded entirely in Perl, our favorite language.

After a quick review of the installation instructions, youíll learn that the XML::XSLT module requires your Perl installation to have some packages already installed. These include XML::DOM, XML::RegExp and XML::LWP, among others. Note that this list is not exhaustive; the modules that you may have to install will vary depending on the modules that youíve already installed. It may be handy to have your neighborhood Perl guru guide you through the installation process.



 
 
>>> More Perl Programming Articles          >>> More By Harish Kamath
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PERL PROGRAMMING ARTICLES

- Perl Turns 25
- Lists and Arguments in Perl
- Variables and Arguments in Perl
- Understanding Scope and Packages in Perl
- Arguments and Return Values in Perl
- Invoking Perl Subroutines and Functions
- Subroutines and Functions in Perl
- Perl Basics: Writing and Debugging Programs
- Structure and Statements in Perl
- First Steps in Perl
- Completing Regular Expression Basics
- Modifiers, Boundaries, and Regular Expressio...
- Quantifiers and Other Regular Expression Bas...
- Parsing and Regular Expression Basics
- Hash Functions

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: