Skip to main content

Mastering XSLT

Mastering XSLT

Chuck White

ISBN: 978-0-782-14094-1

Jul 2002

905 pages

Select type: Paperback

Product not available for purchase

Description

XSLT (Extensible Stylesheet Language Transformations) is a powerful tool for transforming XML to other formats, such as HTML and PDF. It is at the heart of most XML applications and is a notoriously difficult language to understand. Mastering XSLT offers experienced XML developers comprehensive how-to information, plus an in-depth XSLT reference, including XPath. The book has a special emphasis on converting XML to HTML, a major application of XSLT. A entire section of the book focuses on specific implementation issues, including dealing with different kinds of non-XML output, such as special characters and math computations. Author Chuck White is a communications professional who has done extensive work for numerous Fortune 500 companies. He is President and Chief Creative Officer of The Tumeric Partnership, an integrated marketing communications firm, and is the lead author of Mastering XML, Premium Edition from Sybex. He is also webmaster for Javertising, a popular website for advertising and web development professionals.
Introduction.

Part 1: The Basics of XSLT.

Chapter 1: XSLT’s Role.

Chapter 2: Stylesheet Structures.

Chapter 3: XSLT Templates.

Chapter 4: The XSLT Data Model.

Chapter 5: Expressions.

Chapter 6: Variables and Parameters in XSLT.

Chapter 7: Functions.

Part 2: Processing Techniques.

Chapter 8: Managing Output.

Chapter 9: Looping, Iteration, and Conditionals.

Chapter 10: Grouping and Indexing.

Chapter 11: Managing Multiple Documents and Modularization.

Chapter 12: Sorting and Numbering.

Chapter 13: Generating Documentation and Comments.

Chapter 14: XSLT Extensions.

Chapter 15: Fallback in XSLT.

Part 3: Generating HTML Files.

Chapter 16: Generating HTML.

Chapter 17: Generating Tables.

Chapter 18: Working with Forms.

Chapter 19: HTML: Special Considerations.

Part 4: Special Outputting Issues.

Chapter 20: Outputting Strings and Special Characters.

Chapter 21: Math.

Chapter 22: Outputting SVG Using XSLT.

Chapter 23: Generating RTF and Other Non-XML Markup.

Appendices.

Appendix A: XPath.

Appendix B: XML/XSL Resources.

Appendix C: An Introduction to Functional Programming with XSLT.

Index.

Download All Code Used in the Book
Download a .zip file with the code and examples used in the book.
To uncompress the file, Windows users can use Windows built-in ZIP utilities or a 3rd party utility like WinZip or WinRAR. Macintosh users can simply double-click the downloaded file to extract using the built-in archive utility.
Download
Bonus Appendix D: Finding and Using XSLT Tools
Download
Bonus Appendix E: XSLT Functions
Download
Bonus Appendix F: XSLT Code Library: Basic Code and Templates
Download
Bonus Appendix G: XSLT Elements and Attributes
Download
Bonus Appendix H: The Functional Programming Language XSLT: A Proof Through Examples
Download
ChapterPageDetailsDatePrint Run
Combined Errata,

Page 65

FIGURE 3.5, top right corner.
Should read:

<xsl:template match="/">
<xsl:apply-templates />
</xsl:template>

Page 89

5th line from bottom: ...xsl:namepsace-alias... should read ...xsl:namespace-alias...

Page 109

6th line from bottom should read: 7), '-', substring($phone, 8))/>

Page 121

FIGURE 4.1, Heading Reads - A tree representation of Listing 4.1, should read A tree representation of Listing 4.2

Page 162

FIGURE 5.5, 2 lines below first highlighted line Reads - Employee Data File, should read Employee Data File