+353-1-416-8900REST OF WORLD
+44-20-3973-8888REST OF WORLD
1-917-300-0470EAST COAST U.S
1-800-526-8630U.S. (TOLL FREE)


Beginning XSLT and XPath. Transforming XML Documents and Data

  • ID: 2251514
  • Book
  • September 2009
  • 432 Pages
  • John Wiley and Sons Ltd
Extensible Stylesheet Language Transformations (XSLT) is a language for transforming XML documents and data from one format to another. Answering the demand for an introductory book on XSLT processing, Ian Williams presents a clear, concise resource on XSLT concepts and methods and explains how and why XSLT relies on the XML Path language (XPath).

As you gain a solid foundation in XSLT processing, you′ll learn the basic node tree structure that is used in the data model and discover how XSLT differs from the approach used in other programming languages. Example–laden chapters include both versions 1.0 and 2.0 features and demonstrate how to transform one XML data format to another. The book covers the key structural elements of an XSLT file and shows you how to use simple XPath expressions to match and select source file content. Along the way, you′ll uncover a rich set of XPath functions that will benefit you again and again as you develop your XSLT skills.

What you will learn from this book

  • How to define templates, the basic building blocks of XSLT

  • The way to construct XPath expressions and use a range of powerful XPath and XSLT functions

  • The role of variables and parameters in XSLT

  • Making use of control structures and iteration

  • How to generate and format numbers, dates, and times

  • Methods for working with multiple source and stylesheet documents

  • Ways to debug XSLT, validate types in XSLT, and document your stylesheets

  • Tips for indexing and linking items using identifiers and keys

  • Techniques for controlling whitespace and processing plain text

Who this book is for
This book is for web developers, authors, and designers who understand XML basics, and are interested in gaining a solid understanding of XSLT processing.

Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.

Note: Product cover images may vary from those shown

Chapter 1: First Steps with XSLT.

Chapter 2: Introducing XPath.

Chapter 3: Templates, Variables, and Parameters.

Chapter 4: Using Logic.

Chapter 5: Sorting and Grouping.

Chapter 6: Strings, Numbers, Dates, and Times.

Chapter 7: Multiple Documents.

Chapter 8: Processing Text.

Chapter 9: Identifiers and Keys.

Chapter 10: Debugging, Validation, and Documentation.

Chapter 11: A Case Study.

Appendix A: Answers to Exercises.

Appendix B: Extending XSLT.

Appendix C: XSLT Processing Model.

Appendix D: XSLT 2.0 Quick Reference.

Appendix E: XSLT 2.0 Schema.

Appendix F: XPath 2.0 Function Reference.

Appendix G: References.



Note: Product cover images may vary from those shown
Ian Williams is an information designer specializing in XML technologies, and a software technical writer. He worked in the U.K. publishing industry before getting involved in information technology at OWL International, developers of the one of the first commercial hypertext products. Ian was a product manager there, and later a consultant working with large corporate customers.

Since 1998 Ian has worked on technical writing and information–design projects, most recently for Nokia, Reuters, and Volantis. He is co–author with Pierre Greborio of
Professional InfoPath 2003, also from Wrox Press.
Note: Product cover images may vary from those shown