How This Book Is Organized

Learning XSLT is organized into 18 chapters. Here is a brief synopsis of each:


Chapter 1

Introduces you to some basic XSLT terminology and the process of transforming documents with XSLT processors on the command line, in a browser, and in a graphical application.


Chapter 2

Shows you how to build a new, transformed XML document by adding elements, attributes, and text using XSLT instruction elements or literal result elements. It also shows you how to create comments and processing instructions with XSLT.


Chapter 3

Explains and demonstrates the differences between XML, XHTML, HTML, and text output. Covers indentation, XML declarations, document type declarations, CDATA sections, and media types. Also discusses whitespace issues.


Chapter 4

Introduces you to XPath, showing you how to use location paths, patterns, and expressions. Explains the seven basic node types, and introduces result tree fragments.


Chapter 5

Shows you how to use XPath and XSLT functions in expressions.


Chapter 6

Demonstrates how to copy nodes using deep or shallow copy techniques.


Chapter 7

Talks you through the use of variables and parameters.


Chapter 8

Reveals how to sort nodes alphabetically and numerically.


Chapter 9

Explains how to display formatted numbers in a result tree, including lists that are numbered either alphabetically, with Roman numerals, or numerically.


Chapter 10

Discusses template priority, shows you how to name templates and later invoke them by name, and also shows you how to use parameters and modes with templates and explains what built-in templates are.


Chapter 11

With XSLT, you can associate a key with a value and then use this key to find nodes in a document. This chapter explains how to use keys, including a grouping technique.


Chapter 12

Illustrates how to process nodes with the if and when instructions.


Chapter 13

Shows how you can use more than one source document for a transformation, as well as how to use more than one stylesheet. Also reveals the difference between including and importing stylesheets.


Chapter 14

Demonstrates several possible alternative stylesheets, such as a literal result element stylesheet and an embedded stylesheet.


Chapter 15

Explores the use of extension elements, attributes, and functions made available with some of the more popular processors.


Chapter 16

The XSLT 2.0 and XPath 2.0 specifications aren't quite ready for prime time, but they are building momentum and interest, and are nearing completion. This chapter introduces you to some of the more important new features of these new specs.


Chapter 17

Using APIs from Java and C#, you can create a custom wrapper for your preferred XSLT processor. This chapter uses code in both languages to show you how.


Chapter 18

Reviews important XSLT resources and demonstrates how to use the Ox documentation tool for XSLT and XPath reference.


Appendix, XSLT Processors

Helps you find, install, and use a variety of XSLT processors, most of them for free. This appendix also presents some of the basic tenets of using Java processors.


GlossaryGlossary

A glossary of general XML, XSLT, and XPath terms.



Learning XSLT
Learning XSLT
ISBN: 0596003277
EAN: 2147483647
Year: 2003
Pages: 164

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net