XSLT documents a core technology for processing XML. Originally created for page layout, XSLT (Extensible Stylesheet Transformations) is now much more: a general-purpose translation tool, a system for reorganizing document content, and a way to generate multiple results-- such as HTML, WAP, and SVG--from the same content.What sets XSLT apart from other books on this critical tool is the depth of detail and breadth of knowledge that Doug Tidwell, a developer with years of XSLT experience, brings to his concise treatment of the many talents of XSLT. He covers XSLT and XPath, a critical companion standard, and addresses topics ranging from basic transformations to complex sorting and linking. He explores extension functions on a variety of different XSLT processors and shows ways to combine multiple documents using XSLT. Code examples add a real-world dimension to each technique.Useful as XSLT is, its peculiar characteristics make it difficult to get started in, and the ability to use advanced techniques depends on a clear and exact understanding of how XSLT templates work and interact. For instance, the understanding of "variables" in XSLT is deeply different from the understanding of "variables" in procedural languages. The author explains XSLT by building from the basics to its more complex and powerful possibilities, so that whether you're just starting out in XSLT or looking for advanced techniques, you'll find the level of information you need.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Doug Tidwell is a senior programmer at IBM. He has more than a sixth of a century of programming experience, and has been working with markup languages for more than a decade. He was a speaker at the first XML conference in 1997, and has taught XML classes around the world. His job as a Cyber Evangelist is to look busy and to help people use new technologies to solve problems. Using a pair of zircon-encrusted tweezers, he holds a master's degree in computer science from Vanderbilt University and a bachelor's degree in English from the University of Georgia. He lives in Raleigh, North Carolina, with his wife, cooking teacher Sheri Castle (see her web site at http://www.sheri-inc.com) and their daughter Lily.Contenuti:
Dedication; Preface; Organization of This Book; Where I’m Coming From; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: Getting Started; 1.1 The Design of XSLT; 1.2 XML Basics; 1.3 Installing Xalan; 1.4 Summary; Chapter 2: The Obligatory Hello World Example; 2.1 Goals of This Chapter; 2.2 Transforming Hello World; 2.3 How a Stylesheet Is Processed; 2.4 Stylesheet Structure; 2.5 Sample Gallery; 2.6 Summary; Chapter 3: XPath: A Syntax for Describing Needles and Haystacks; 3.1 The XPath Data Model; 3.2 Location Paths; 3.3 Attribute Value Templates; 3.4 XPath Datatypes; 3.5 The XPath View of an XML Document; 3.6 Summary; Chapter 4: Branching and Control Elements; 4.1 Goals of This Chapter; 4.2 Branching Elements of XSLT; 4.3 Invoking Templates by Name; 4.4 Parameters; 4.5 Variables; 4.6 Using Recursion to Do Most Anything; 4.7 A Stylesheet That Emulates a for Loop; 4.8 A Stylesheet That Generates a Stylesheet That Emulates a for Loop; 4.9 Summary; Chapter 5: Creating Links and Cross-References; 5.1 Generating Links with the id() Function; 5.2 Generating Links with the key() Function; 5.3 Generating Links in Unstructured Documents; 5.4 Summary; Chapter 6: Sorting and Grouping Elements; 6.1 Sorting Data with ; 6.2 Grouping Nodes; 6.3 Summary; Chapter 7: Combining XML Documents; 7.1 Overview; 7.2 The document() Function; 7.3 Invoking the document() Function; 7.4 More Sophisticated Techniques; 7.5 Summary; Chapter 8: Extending XSLT; 8.1 Extension Elements, Extension Functions, and Fallback Processing; 8.2 Extending the Saxon Processor; 8.3 More Examples; 8.4 Summary; Chapter 9: Case Study: The Toot-O-Matic; 9.1 About the Toot-O-Matic; 9.2 Design Goals; 9.3 Tutorial Layout; 9.4 XML Document Design; 9.5 XSLT Source Code; 9.6 Summary; XSLT Reference; XPath Reference; XPath Node Types; XPath Node Tests; XPath Axes; XPath Operators; Datatypes; The XPath Context; XSLT and XPath Function Reference; XSLT Guide; How Do I Put Quotes Inside an Attribute Value?; How Do I Convert All Attributes to Elements?; How Do I List All the Elements in an XML Document?; How Do I Implement an if Statement?; How Do I Implement an if-else Statement?; How Do I Implement a for Loop?; How Do I Implement a case Statement?; How Do I Group Elements in an XML Document?; How Do I Group Elements Pulled from Multiple XML Documents?; How Do I Combine XML Documents into a Single Master Document?; How Do I Resolve Cross-References?; How Do I Generate Some Text?; How Do I Control Angle Brackets and Quote Marks in My Output?; Glossary; Colophon;
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Descrizione libro O'Reilly Media, 2001. Paperback. Condizione libro: New. 1. Codice libro della libreria DADAX0596000537
Descrizione libro O'Reilly Media, 2001. Paperback. Condizione libro: New. book. Codice libro della libreria 0596000537
Descrizione libro O'Reilly Media, 2001. Paperback. Condizione libro: New. Codice libro della libreria P110596000537
Descrizione libro O'Reilly Media, Incorporated. Condizione libro: New. pp. 478. Codice libro della libreria 7571232