Cargando…

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 le...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Ray, Erik T.
Otros Autores: McIntosh, Jason
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Sebastopol, CA : O'Reilly & Associates, Ã2002.
Edición:1st ed.
Colección:Nutshell handbook.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • Table of Contents; Preface; Assumptions; How This Book Is Organized; Resources; The perl-xml Mailing List; CPAN; Font Conventions; How to Contact Us; Acknowledgments; Perl and XML; Why Use Perl with XML?; XML Is Simple with XML::Simple; XML Processors; A Myriad of Modules; Keep in Mind ... ; XML Gotchas; An XML Recap; A Brief History of XML; Markup, Elements, and Structure; Namespaces; Spacing; Entities; Unicode, Character Sets, and Encodings; The XML Declaration; Processing Instructions and Other Markup; Free-Form XML and Well-Formed Documents; Declaring Elements and Attributes; Schemas
  • Other Schema StrategiesTransformations; XML Basics: Reading and Writing; XML Parsers; Example (of What Not to Do): A Well-Formedness Checker; XML::Parser; Example: Well-Formedness Checker Revisited; Parsing Styles; Stream-Based Versus Tree-Based Processing; Putting Parsers to Work; XML::LibXML; XML::XPath; Document Validation; DTDs; Schemas; XML::Writer; Other Methods of Output; Character Sets and Encodings; Unicode, Perl, and XML; Unicode Encodings; UTF-8; UTF-16; UTF-32; Other Encodings; Core Perl support; Encoding Conversion; iconv and Text::Iconv; Unicode::String; Byte order marks
  • Event StreamsWorking with Streams; Events and Handlers; The Parser as Commodity; Stream Applications; XML::PYX; XML::Parser; SAX; SAX Event Handlers; DTD Handlers; External Entity Resolution; Drivers for Non-XML Sources; A Handler Base Class; XML::Handler::YAWriter as a Base Handler Class; XML::SAX: The Second Generation; XML::SAX::ParserFactory; SAX2 Handler Interface; Content event handlers; Entity resolver; Lexical event handlers; Error event handlers and catching exceptions; SAX2 Parser Interface; Example: A Driver; Installing Your Own Parser; Tree Processing; XML Trees; XML::Simple
  • XML::Parser's Tree ModeXML::SimpleObject; XML::TreeBuilder; XML::Grove; DOM; DOM and Perl; DOM Class Interface Reference; Document; Properties; Methods; DocumentFragment; DocumentType; Properties; Node; Properties; Methods; NodeList; Properties; Methods; NamedNodeMap; Properties; Methods; CharacterData; Properties; Methods; Element; Properties; Methods; Attr; Properties; Text; Methods; CDATASection; ProcessingInstruction; Properties; Comment; EntityReference; Entity; Properties; Notation; Properties; XML::DOM; XML::LibXML; Beyond Trees: XPath, XSLT, and More; Tree Climbers; XPath; XSLT
  • Optimized Tree ProcessingRSS, SOAP, and Other XML Applications; XML Modules; XML::RSS; Introduction to RSS; Using XML::RSS; Parsing; Inheriting from XML::Parser; The Object Model; Input: User or File; Off-the-Cuff Output; XML Programming Tools; XML::Generator::DBI; Further Ruminations on DBI and SAX; SOAP::Lite; First Example: A Temperature Converter; Second Example: An ISBN Lookup Engine; Coding Strategies; Perl and XML Namespaces; Subclassing; Subclassing Example: XML::ComicsML; Converting XML to HTML with XSLT; Example: Apache::DocBook; A Comics Index; Index