Nor does it cover XML Schemas in any detail. If you want to use these important technologies in conjunction with XSLT, there are other books that do them justice.
This book contains twenty chapters and eight appendixes the last of which is a glossary organized into four parts. The following section outlines what you can find in each part, chapter, and appendix.
XSLT and XPath Programmer's Reference - Michael Kay - Google Books
Part I: Foundations: The first part of the book covers essential concepts. You should read these before you start coding.
If you ignore this advice, as most people do, then you read them when you get to that trough of despair when you find it impossible to make the language do anything but the most trivial tasks. XSLT is different from other languages, and to make it work for you, you need to understand how it was designed to be used. It also has a few simple coding examples to keep you alert. It explains the key concepts of rule-based programming using templates, and explains how to undertake programming-in-the-large by structuring your application using modules and pipelines.
Not everyone uses schemas, and you can skip this chapter if you fall into that category. This means that you can declare the types of your variables, functions, and parameters, and use this information to get early warning of programming errors. This chapter explains the data types available and the mechanisms for creating user-defined types. Chapter 6: XSLT Elements: This monster chapter lists all the XSLT elements you can use in a stylesheet, in alphabetical order, giving detailed rules for the syntax and semantics of each element, advice on usage, and examples.
This is probably the part of the book you will use most frequently as you become an expert XSLT user. Chapter 7: XPath Fundamentals: This chapter explains the basics of XPath: the low-level constructs such as literals, variables, and function calls. It also explains the context rules, which describe how the evaluation of XPath expressions depends on the XSLT processing context in which they appear. Chapter 8: XPath: Operators on Items: XPath offers the usual range of operators for performing arithmetic, boolean comparison, and the like.
This chapter explains the syntax of path expressions, the 13 axes that you can use to locate the nodes that you need, and associated operators such as union, intersection, and difference. Some of the most important operators in XPath 2. Chapter XPath: Type Expressions: The type system was explained in Chapter 5; this chapter explains the operations that you can use to take advantage of types.
A big part of this chapter is devoted to the detailed rules for how these conversions are done. The reason for explaining them now is that the syntax and semantics of patterns depends strongly on the corresponding rules for XPath expressions.
See a Problem?
The library has grown immensely since XPath 1. This chapter provides a single alphabetical reference for all these functions. You can control serialization from the stylesheet using an declaration, but many products also allow you to control it directly via an API. The best way of learning is by studying the work of others, so the emphasis here is on practical case studies.
This provides an opportunity to explain the thinking behind functional programming and the change in mindset needed to take full advantage of this style of development. The resulting stylesheets are typical of those you will find in any publishing organization that uses XML to develop a series of documents with a compatible look-and-feel.
This example with semi-structured data—a mixture of fairly complex data and narrative text—that can be presented in many different ways for different audiences. As it happens, this uses nearly all the important new XSLT 2. But another aim of this chapter is to show a collection of stylesheets doing different jobs as part of a complete application.
This appendix gives details of its interfaces. Request permission to reuse content from this site.
- The reception of Vatican II.
- Sentence Diagramming for High School.
- XSLT Programmer's Reference 2nd Edition.
Undetected location. NO YES. XSLT 2.
XSLT 2.0 and XPath 2.0 Programmer's Reference
Selected type: Hardcover. What is this book about? The material on tools and implementations has been revised; so too have all the examples. It also includes a new chapter on writing extension functions.
- Economic Expansion and Social Change: England 1500-1700, Volume I: People, Land and Towns?
- Deep Simplicity: Chaos, Complexity and the Emergence of Life. John Gribbin.
- Chasing Life: New Discoveries in the Search for Immortality to Help You Age Less Today;
- Differential Calculurs /.
XML has firmly established itself as the universal standard for managing data for the web and is now being implemented on a wide scale. When you transform an XML document, you manipulate the data into a new structure, for example, re-ordering the data. This enables the same data store to be used in an unlimited number of ways.
XSLT is a flexible, customizable, and cross-platform language. XSLT is a notoriously difficult language to understand, but this book, while being a complete reference to the recommendation, will also give code examples showing how it all ties together and can be effectively employed in a real-world development scenario.