Perl and XML

Perl and XML by Erik T. Ray and Jason McIntosh

Perl and XML

Binding:
Paperback
Number of Pages:
216
ISBN:
059600205X
Product Group:
book
Publisher:
O'Reilly Media
Publication Date:
April 25, 2002
BooksForGeeks.com ID:
1386

Perl and XML shows how to combine two key Web technologies. Perl is a great language for server-side Web scripting, but XML parsers are generally written in Java or C++. Even so, Perl is everywhere, its strong text processing features make it a good partner for XML, and the chances are that Perl developers will need to work with XML sooner or later. Written with lively good humour, this title explains how to parse, validate and generate XML using a variety of techniques. It does not teach Perl, but does include an excellent short introduction to XML itself.

After setting the scene, the authors set out the basics of XML parsing and writing, using the XML::Parser and XML::Writer modules. This is a good place to start, but the book makes it clear that the future of Perl and XML is in standard interfaces like SAX, which is the subject of another chapter. There is also an explanation of tree processing using XML::Simple or the standard DOM. (Document Object Model). The last chapters cover other XML technologies including XPath, XSLT and SOAP.

Packed with plenty of example code, this title is very much a guide rather than a reference. It does a great job of presenting XML from a Perl perspective, showing why it is useful and how to go about finding and installing the right modules. A couple of short but complete examples at the end help to put it all together, and there are lots of handy tips and warnings sprinkled throughout the book.--Tim Anderson

Reviews for Perl and XML

  1. Basic introduction to Perl and XML

    Rated 4 out of 5 stars, July 12th, 2002

    This book is a basic introduction to how Perl handles XML and people looking for a in depth book on Perl and XML will be dissapointed. That does not mean that the book is not good, because it is. It has easy explanations and it covers a wide range of different Perl XML modules and gives examples on how to use them, but since it is only a thin book it does not cover as much as one might like.

    If you are a Perl programmer looking for a book to give you a quick overview of what is available then this book is for you. But if you are looking for larger examples and in depth explanations this is problably not the book for you.

Our Network

BooksForGeeks.com is a participant in the Amazon Europe S.à r.l. Associates Programme, an affiliate advertising programme designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.co.uk