Book description
XSLT is a powerful language for transforming XML documents into something else. That something else can be an HTML document, another XML document, a Portable Document Format (PDF) file, a Scalable Vector Graphics (SVG) file, a Virtual Reality Modeling Language (VRML) file, Java code, or a number of other things. You write an XSLT stylesheet to define the rules for transforming an XML document, and the XSLT processor does the work.As useful as XSLT is, its peculiar characteristics make it a difficult language in which to get started. In fact, newcomers are often a little dazed on first contact. Learning XSLT offers a hands-on introduction to help them get up to speed with XSLT quickly. The book will help web developers and designers understand this powerful but often mystifying template-driven and functional-styled language, getting them over the many differences between XSLT and the more conventional programming languages.Learning XSLT moves smoothly from the simple to complex, illustrating all aspects of XSLT 1.0 through step-by-step examples that you'll practice as you work through the book. Thorough in its coverage of the language, the book makes few assumptions about what you may already know. You'll learn about XSLT's template-based syntax, how XSLT templates work with each other, and gain an understanding of XSLT variables. Learning XSLT also explains how the XML Path Language (XPath) is used by XSLT and provides a glimpse of what the future holds for XSLT 2.0 and XPath 2.0.The ability to transform one XML vocabulary to another is fundamental to exploiting the power of XML. Learning XSLT is a carefully paced, example-rich introduction to XSLT that will have you understanding and using XSLT on your own in no time.
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
- 1. Transforming Documents with XSLT
- 2. Building New Documents with XSLT
-
3. Controlling Output
- 3.1. The Output Method
- 3.2. Outputting XML
- 3.3. Outputting HTML
- 3.4. Outputting Text
- 3.5. Using a QName Output Method
- 3.6. Media Types
- 3.7. Summary
- 4. Traversing the Tree
- 5. XPath and XSLT Functions
- 6. Copying Nodes
- 7. Using Variables and Parameters
- 8. Sorting Things Out
- 9. Numbering Lists
- 10. Templates
- 11. Using Keys
- 12. Conditional Processing
- 13. Working with Multiple Documents
- 14. Alternative Stylesheets
- 15. Extensions
- 16. XSLT 2.0 and XPath 2.0
- 17. Writing an XSLT ProcessorInterface
- 18. Parting Words
-
A. XSLT Processors
- A.1. Installing and Running XSLT Processors
- A.2. Using jd.xslt
- Glossary
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Learning XSLT
- Author(s):
- Release date: November 2003
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596003272
You might also like
book
XSLT
XSLT documents a core technology for processing XML. Originally created for page layout, XSLT (Extensible Stylesheet …
book
XSLT Cookbook
Critical for converting XML documents, and extremely versatile, the XSLT language nevertheless has complexities that can …
book
Inside XSLT
Inside XSLT is designed to be a companion guide to Inside XML. This example oriented book …
book
XSLT and XPATH: A Guide to XML Transformations
Gain total control over your information with XSLT and XPath! Master XSLT and XPath—the "keys to …