Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Very Good See details
$7.10 & eligible for FREE Super Saver Shipping on orders over $25. Details

or
Sign in to turn on 1-Click ordering.
 
   
More Buying Choices
Have one to sell? Sell yours here
Perl and XML
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Perl and XML [Paperback]

Erik T. Ray (Author), Jason McIntosh (Author)
4.2 out of 5 stars  See all reviews (8 customer reviews)

List Price: $39.99
Price: $30.96 & this item ships for FREE with Super Saver Shipping. Details
You Save: $9.03 (23%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, January 31? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

059600205X 978-0596002053 May 2, 2002 1

XML is a text-based markup language that has taken the programming world by storm. More powerful than HTML yet less demanding than SGML, XML has proven itself to be flexible and resilient. XML is the perfect tool for formatting documents with even the smallest bit of complexity, from Web pages to legal contracts to books. However, XML has also proven itself to be indispensable for organizing and conveying other sorts of data as well, thus its central role in web services like SOAP and XML-RPC.

As the Perl programming language was tailor-made for manipulating text, few people have disputed the fact that Perl and XML are perfectly suited for one another. The only question has been what's the best way to do it. That's where this book comes in.

Perl & XML is aimed at Perl programmers who need to work with XML documents and data. The book covers all the major modules for XML processing in Perl, including XML::Simple, XML::Parser, XML::LibXML, XML::XPath, XML::Writer, XML::Pyx, XML::Parser::PerlSAX, XML::SAX, XML::SimpleObject, XML::TreeBuilder, XML::Grove, XML::DOM, XML::RSS, XML::Generator::DBI, and SOAP::Lite. But this book is more than just a listing of modules; it gives a complete, comprehensive tour of the landscape of Perl and XML, making sense of the myriad of modules, terminology, and techniques. This book covers:

  • parsing XML documents and writing them out again
  • working with event streams and SAX
  • tree processing and the Document Object Model
  • advanced tree processing with XPath and XSLT
Most valuably, the last two chapters of Perl & XML give complete examples of XML applications, pulling together all the tools at your disposal. All together, Perl & XML is the single book that gives you a solid grounding in XML processing with Perl.

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Perl and XML + Programming Web Services with Perl + Perl & LWP
Price For All Three: $91.73

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Programming Web Services with Perl $31.98

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Perl & LWP $28.79

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Jason McIntosh lives and works in and around Boston. He has co-authored two O'Reilly books, Mac OS X in a Nutshell and Perl & XML, and writes occasional columns and weblog entries for the O'Reilly Network. His homepage is at http://www.jmac.org.


Product Details

  • Paperback: 216 pages
  • Publisher: O'Reilly Media; 1 edition (May 2, 2002)
  • Language: English
  • ISBN-10: 059600205X
  • ISBN-13: 978-0596002053
  • Product Dimensions: 9.2 x 7 x 0.6 inches
  • Shipping Weight: 12.6 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (8 customer reviews)
  • Amazon Best Sellers Rank: #143,490 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

8 Reviews
5 star:
 (4)
4 star:
 (2)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.2 out of 5 stars (8 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

49 of 51 people found the following review helpful:
5.0 out of 5 stars Another Perl book? Yes, and it's a good one, too., June 6, 2002
This review is from: Perl and XML (Paperback)
I am a professional developer, working mostly with Perl. I work in the field of biology and bioinformatics, but have spent the last 8 years working as a web and database Internet developer. And, I own practically every O'Reilly Perl book ever published (not that I necessarily think they're all worth buying). So, now that you know where I'm coming from...

If you are preparing to do a serious amount of XML development, and you're in the process of determining a) which Perl XML modules on CPAN you want to use, and b) how to use them; and, you don't have a whole lot of time to spend tracking down the sometimes-hard-to-find documentation on these modules; then buying this book is a no-brainer. It covers all the major XML modules, how to use then and really helps you figure out when to use the different modules.

Even if you're not new to XML and Perl, this book would serve as an excellent refresher course on what XML tools are available out there for you... Maybe you haven't looked at your code in awhile, or want to update it to use a newer module from CPAN? Or, maybe you're looking for a better way to do it? Then, this book would definitely help you out.

While a fan of O'Reilly books in general, I'll be the first to admit some of them are more useful than others. I have to give this book a very solid rating, as it's actually useful, comprehensive and very well presented. I find myself cracking it open all the time, especially as my utilization of XML has grown more complicated. It has definitely earned its place in my Aqua Perl book collection.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 6 people found the following review helpful:
3.0 out of 5 stars Good book, but lots of errors in the code, November 28, 2004
By 
This review is from: Perl and XML (Paperback)
I liked the way this book was structured - it was a quick read over a thanksgiving family visit, and it gave a good overview of what XML is and what XML isn't, and what tools are available already in Perl to use it. I particularly liked the middle of the book, and how it dealt with trees and event streams. First there was in short intro chapter on why you'd want to parse XML as an event stream, and some simple modules that give back event streams. Then the next chapter would be a longer one on SAX - the definitive way to do event streams. Same thing with trees and DOM. It ends with some examples of real-life XML processing, such as consuming and producing RSS feeds. The book also has the best description of Unicode I've ever read, and did it with just a few pages.

What ticked me off about this book were the egregious errors in the sampe code. The very first piece of code they show in chapter 3 is a 100-line XML parser that doesn't need any support modules. The problem is that it doesn't recognize any XML because the regular expressions are wrong, which was pretty confusing for me (I'm relatively new to Perl, so I figured they were just "another way of doing it" that I didn't understand). I downloaded the examples frm the O'Reily website, and they're wrong there too - so it's not just a printing error. Worse, the example XML file I tried to test the parser on was also from the tarfile I downloaded - but it was invalid XML! (example 3.4). So I was trying to learn XML with a sample parser that didn't work, on invalid XML! This is not the quality I am expecting from O'Reilly!
(In fairness, both of these errors were in the online errata, but I'm not sure if they were corrected in the 7/04 reprint)

There are other errors in the code too - so be sure and check back with the errata page if you're going to seriously use the code. If they'd run their sample code before printing, I'd probably give this book a better rating.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5 of 5 people found the following review helpful:
4.0 out of 5 stars Good Overview Of XML And Supporting Perl Modules, February 14, 2004
This review is from: Perl and XML (Paperback)
I have wanted to learn about XML, but I found the pure XML books dry and too theoretical. However, putting XML in the context of something familiar, i.e. Perl, made it much more accessible. This book gives a nice overview of XML parsing using event based and tree based parsers that are available as Perl modules. The book presents SAX and DOM standards compliant modules as well as modules with more Perlish interfaces, e.g. XML::Grove and XML::Twig. It discusses the pros and cons of event vs. tree parsing of XML as well as a few advanced technologies such as database integration and SOAP. The only knock I have on the book is that the examples are a bit contrived and do not show how to solve meaningful problems.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews






Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
coding strategies, poison sumac, speckled alder, initialize parser, sax driver, external entity references, handler package, helper module, internal subset, parser object, external subset, element end tag, tree processing, element start tag, public identifier, tree mode, namespace prefix, validating parser, text node, perl module
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Matt Sergeant, The Second Generation, Dublin Core, Class Interface Reference, Putting Parsers, Times New Roman, Comics Index, David Megginson, Document Object Model, Kip Hampton, Byte Order Mark, Document Type Declaration, System Identifier
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(4)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject