XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition

  • 28h 50m
  • Michael Kay
  • John Wiley & Sons (US)
  • 2008

Combining coverage of XSLT 2.0 and XPath 2.0 into one book, this authoritative reference provides equal weight to the powerful new features of XSLT 2.0 and XPath 2.0 and the established capabilities of the 1.0 versions. Author Michael Kay has created his own implementation of XSLT 2.0 (Saxon), and he puts his unique knowledge to work in this detailed reference to the elements of the XSLT 2.0 language and the fundamentals of XPath, complete with syntax, practical usage advice, and examples.

The book begins by teaching the essential concepts behind the language, knowledge you need if you are going to write good code rather than just working code. You will discover how XSLT and XPath differ from other languages, and how you use them to create effective web-based applications. The central chapters provide meticulous coverage of the language features of XSLT 2.0 and XPath 2.0. You will return to this reference whenever you encounter new programming challenges. You finish with detailed case studies highlighting real applications to give you insights you would otherwise gain only from months of practical experience.

What you will learn from this book

  • All the XSLT elements you can use in a stylesheet and the detailed rules for the syntax and semantics of each
  • How Path expressions enable you to navigate around the structure of an XML document
  • How you can improve your stylesheets by taking advantage of the XML Schema definitions of input and output documents
  • How to take advantage of vendor extensions without losing portability
  • Techniques for taking advantage of XSLT to write real applications

Who this book is for

This book is for experienced programmers who are looking to become proficient with XSLT 2.0. Previous experience with XSLT or XPath is not necessary. However, a working knowledge of XML, HTML, and web architecture is beneficial.

About the Author

Michael Kay has been working in the XML field since 1997; he became a member of the XSL Working Group soon after the publication of XSLT 1.0, and took over as editor of the XSLT 2.0 specification in early 2001. He is also a member of the XQuery and XML Schema Working Groups, and is a joint editor of the XPath 2.0 specification. He is well known not only through previous editions of this book but also as the developer of the open source Saxon product, a pioneering implementation of XSLT 2.0, XPath 2.0, and XQuery 1.0.

In 2004 the author formed his own company, Saxonica, to provide commercial software and services building on the success of the Saxon technology. Previously, he spent three years with Software AG, working with the developers of the Tamino XML server, an early XQuery implementation. His background is in database technology: after leaving the University of Cambridge with a Ph.D., he worked for many years with the (then) computer manufacturer ICL, developing network, relational, and object-oriented database software products as well as a text search engine, and held the position of ICL Fellow.

In this Book

  • XSLT in Context
  • The XSLT Processing Model
  • Stylesheet Structure
  • Stylesheets and Schemas
  • Types
  • XSLT Elements
  • XPath Fundamentals
  • XPath: Operators on Items
  • XPath: Path Expressions
  • XPath: Sequence Expressions
  • XPath: Type Expressions
  • XSLT Patterns
  • The Function Library
  • Regular Expressions
  • Serialization
  • Extensibility
  • Stylesheet Design Patterns
  • Case Study: XMLSpec
  • Case Study: A Family Tree
  • Case Study: Knight's Tour
SHOW MORE
FREE ACCESS