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.
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
Learning Salesforce Lightning Application Development
Build, design, and style beautiful and informative applications on the Salesforce Lightning platform Key Features Build …
book
Java Coding Problems
Develop your coding skills by exploring Java concepts and techniques such as Strings, Objects and Types, …
book
XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
This book is primarily a practical reference book for professional XSLT developers. It assumes no previous …
book
The Complete Coding Interview Guide in Java
Explore a wide variety of popular interview questions and learn various techniques for breaking down tricky …