Author Tidwell, Doug.

Title XSLT / Doug Tidwell
Edition 1st ed
Published Cambridge [Mass.]. : O'Reilly, 2001


Description 1 online resource (xvi, 460 pages) : illustrations
Contents Design of XSLT 1 -- XML Basics 4 -- Installing Xalan 20 -- 2. Obligatory Hello World Example 21 -- Transforming Hello World 21 -- How a Stylesheet Is Processed 23 -- Stylesheet Structure 26 -- Sample Gallery 32 -- 3. XPath: A Syntax for Describing Needles and Haystacks 42 -- XPath Data Model 43 -- Location Paths 47 -- Attribute Value Templates 56 -- XPath Datatypes 57 -- XPath View of an XML Document 57 -- 4. Branching and Control Elements 65 -- Branching Elements of XSLT 66 -- Invoking Templates by Name 72 -- Parameters 73 -- Variables 79 -- Using Recursion to Do Most Anything 81 -- A Stylesheet That Emulates a for Loop 85 -- A Stylesheet That Generates a Stylesheet That Emulates a for Loop 89 -- 5. Creating Links and Cross-References 99 -- Generating Links with the id() Function 99 -- Generating Links with the key() Function 108 -- Generating Links in Unstructured Documents 124 -- 6. Sorting and Grouping Elements 129 -- Sorting Data with [left angle bracket]xsl:sort[right angle bracket] 129 -- Grouping Nodes 139 -- 7. Combining XML Documents 148 -- Document() Function 149 -- Invoking the document() Function 155 -- More Sophisticated Techniques 156 -- 8. Extending XSLT 166 -- Extension Elements, Extension Functions, and Fallback Processing 166 -- Extending the Saxon Processor 194 -- 9. Case Study: The Toot-O-Matic 212 -- Design Goals 213 -- Tutorial Layout 215 -- XML Document Design 220 -- XSLT Source Code 222 -- A. XSLT Reference 237 -- B. XPath Reference 332 -- C. XSLT and XPath Function Reference 341 -- D. XSLT Guide 434
Summary 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
Notes Master and use copy. Digital master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002. http://purl.oclc.org/DLF/benchrepro0212 MiAaHDL
Copyright © O'Reilly Media, Incorporated 2001
Copyright © O'Reilly Media, Inc. 2001
Print version record
digitized 2010 HathiTrust Digital Library committed to preserve pda MiAaHDL
Subject XSLT (Computer program language)
XML (Document markup language)
XML (Document markup language)
XSLT (Computer program language)
Engineering & Applied Sciences.
Computer Science.
Form Electronic book
LC no. 2001036175
Other Titles Mastering XML transformations