XSLT

Front Cover
"O'Reilly Media, Inc.", 2001 - Computers - 460 pages
6 Reviews
Have you ever needed to convert documents from XML to HTML ? Or from one XML vocabulary to another ? Extensible Stylesheet Transformations (XSLT) provide a critical bridge between XML processing and more familiar HTML, as well as between XML vocabularies. XSLT demonstrates how to use this powerful, but complex, tool for a wide variety of conversions. Examples illustrate many different cases and techniques, giving you working code to explore and modify for your own purposes. Originally created for page layout, XSLT has grown into one of the tore technologies used by most developers processing XML. Through clear and entertaining explanations, this book shows you how to use XSLT as a general-purpose translation tool, a system for reorganizing document content, and a tool for generating multiple results (including HTML, VRML, and SVG) from the same content. Though XSLT is extremely useful, it can also be daunting to new users. XSLT uses an XML-based template syntax combined with a terse vocabulary called XPath that identifies how the template applies to the original document. The understanding of " variables " in XSLT is very different from the understanding of " variables " in procedural languages, for instance. Getting started with XSLT is difficult, and advanced techniques require a thorough understanding of how XSLT templates work and interact with one another. XSLT brings it all together, giving developers both a thorough tutorial and a reference. It examines both XSLT and XPath, a critical companion standard, and explores subjects ranging from basic transformations to complex sorting and linking. In addition, the book explores extension functions on various XSLT processors and how to combine multiple documents with XSLT. Examples demonstrate all of the techniques described. Examples also illustrate how to use XSLT to generate a ride variety of target document types, including HTML, SVG, JPEG, Java source code, and XSLT stylesheets.
  

What people are saying - Write a review

User ratings

5 stars
1
4 stars
5
3 stars
0
2 stars
0
1 star
0

User Review - Flag as inappropriate

Some pages are missing, making it completely pointless.

Review: XSLT

User Review  - Chris Corbell - Goodreads

A typical O'Reilly tutorial and reference. I've found it very useful. Read full review

Selected pages

Contents

Getting Started
1
The Obligatory Hello World Example
20
XPath A Syntax for Describing Needles and Haystacks
42
Branching and Control Elements
65
Creating Links and CrossReferences
99
Sorting and Grouping Elements
129
Combining XML Documents
148
Extending XSLT
166
Case Study The TootOMatic
212
XSLT Reference
237
XPath Reference
332
XSLT and XPath Function Reference
341
XSLT Guide
434
Glossary
443
Index
451
Copyright

Common terms and phrases

References to this book

All Book Search results »

About the author (2001)

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.

Bibliographic information