Perl & XML (Paperback)
暫譯: Perl 與 XML (平裝本)

Erik T. Ray, Jason McIntosh

  • 出版商: O'Reilly
  • 出版日期: 2002-06-04
  • 售價: $1,590
  • 貴賓價: 9.5$1,511
  • 語言: 英文
  • 頁數: 218
  • 裝訂: Paperback
  • ISBN: 059600205X
  • ISBN-13: 9780596002053
  • 相關分類: Perl 程式語言XML
  • 已過版

買這商品的人也買了...

商品描述

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.

商品描述(中文翻譯)

XML 是一種基於文本的標記語言,已在程式設計界引起了轟動。它比 HTML 更強大,但又不如 SGML 那麼苛刻,XML 已證明自己靈活且具有韌性。XML 是格式化文件的完美工具,無論是網頁、法律合約還是書籍,即使是最小的複雜性也能處理。然而,XML 也已證明對於組織和傳遞其他類型的數據是不可或缺的,因此在像 SOAP 和 XML-RPC 這樣的網路服務中扮演了核心角色。

由於 Perl 程式語言是專為操作文本而設計,幾乎沒有人質疑 Perl 和 XML 是完美契合的事實。唯一的問題是,最佳的操作方式是什麼。這正是本書的用武之地。

Perl & XML 旨在幫助需要處理 XML 文件和數據的 Perl 程式設計師。本書涵蓋了 Perl 中所有主要的 XML 處理模組,包括 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 和 SOAP::Lite。但本書不僅僅是模組的列表;它提供了對 Perl 和 XML 的全面深入介紹,幫助讀者理解眾多的模組、術語和技術。

本書涵蓋的內容包括:


  • 解析 XML 文件並重新寫出

  • 處理事件流和 SAX

  • 樹形處理和文檔對象模型

  • 使用 XPath 和 XSLT 進行高級樹形處理


最有價值的是,Perl & XML 的最後兩章提供了完整的 XML 應用示例,整合了所有可用的工具。總的來說,Perl & XML 是一本能夠讓你在 Perl 中扎實掌握 XML 處理的書籍。