SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
This eBook includes the following formats, accessible from your Account page after purchase:
EPUB The open industry format known for its reflowable content and usability on supported mobile devices.
PDF The popular standard, used most often with the free Acrobat® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
The book covers XSLT and Xpath (as a part of XSLT), as these topics have everything to do with processing XML. It will also cover XML from an XSLT processing and design point of view. Other XML technologies will not be discussed as superset of XSLT, most notably XSL. XSL Formatting Objects alone is enough material for an entire book. Apart from that, XSLT and Xpath form the processing/programming section of the entire XSL specification. This book presents an overview of XSLT and guides readers through transforming their first XML data. In this book you will also learn:
(NOTE: Each chapter concludes with a Summary, Q&A, and Workshop.)
Introduction.
Who Is This Book's Intended Audience? What Do You Need to Know Before You Read This Book? What Will You Learn from This Book? What Software Will You Need to Complete the Examples Provided with This Book? How This Book Is Organized. What's on the Sams Web Site for This Book. Conventions Used in This Book.
WEEK 1. AT A GLANCE.
Day 1. Getting Started with XSLT.Overview of XSLT. How Does XSLT Work? Creating XSLT Files. Processors for XML Transformation with XSLT.
Day 2. Transforming Your First XML.Anatomy of a Stylesheet. Applying a Stylesheet to an XML Source.
Day 3. Selecting Data.Understanding the XML Document Tree. Understanding XPath.
Day 4. Using Templates.Understanding Templates. Creating and Using Templates. Determining Which Template Is Used.
Day 5. Inserting Text and Elements.Inserting Text. Inserting Elements and Attributes. Copying Elements from the Source Document. Inserting Comments and Processing Instructions.
Day 6. Conditional and Iterative Processing.Iterating Through a Node-Set. Conditional Processing. More About Expressions. Using Boolean Functions.
Day 7. Controlling the Output.Creating Different Output Formats. Output Encoding and Output Escaping. Controlling Whitespace.
Week 1. In Review.Overview of Bonus Project 1. Creating an Article with a Table of Contents.
WEEK 2. AT A GLANCE.
Day 8. Working with VariablesUnderstanding Variables. Creating and Using Variables. Creating Variables from Expressions.
Day 9. Working with Parameters.Understanding Parameters. Using Parameters.
Day 10. Understanding Data Types.Data Type Basics. Conversion Between Data Types. Comparing Values.
Day 11. Working with Strings.Operations on Strings. Formatting Data.
Day 12. Sorting and Numbering.Sorting. Numbering.
Day 13. Working with Multifile Stylesheets.Using Multiple Stylesheets. Including Stylesheets. Importing Stylesheets.
Day 14. Working with Multiple XML Sources.Accessing Other XML Sources. Accessing the Stylesheet Elements. Multidocument Pros and Cons.
Week 2. In Review.Overview of Bonus Project 2. Creating a Multifile Stylesheet with Parameters.
WEEK 3. AT A GLANCE.
Day 15. Working with Namespaces.Understanding Namespaces. Processing XML Sources with Namespaces. Getting Namespace Information. Inserting and Removing Namespaces.
Day 16. Advanced Data Selection.More About Expressions. Working with Keys. Working with Unique IDs.
Day 17. Using Recursion.Understanding Recursion. Creating Recursive Templates.
Day 18. Building Computational Stylesheets.Computational Stylesheets Explained. Operators and Functions Used in Computations. Computational Applications.
Day 19. Working with XSLT Extensions.Understanding XSLT Extensions. Using Built-in Extensions. Creating Your Own Extension Functions.
Day 20. Working with Different Processors.Targeting Multiple Processors. XML Capabilities of Database Servers.
Day 21. Designing XML and XSLT Applications.Designing XML. Designing XSLT.
Week 3. In Review.Overview of Bonus Project 3. Creating a Shopping Basket in XSLT.
APPENDIXES.
Appendix A. Answers to Quiz Questions and Exercises.Answers for Day 1. Answers for Day 2. Answers for Day 3. Answers for Day 4. Answers for Day 5. Answers for Day 6. Answers for Day 7. Answers for Day 8. Answers for Day 9. Answers for Day 10. Answers for Day 11. Answers for Day 12. Answers for Day 13. Answers for Day 14. Answers for Day 15. Answers for Day 16. Answers for Day 17. Answers for Day 18. Answers for Day 19. Answers for Day 20. Answers for Day 21.
Appendix B. A Quick Reference of XSLT Elements and Functions.XSLT Element Reference. XSLT and XPath Function Reference.
Appendix C. Command-Line Reference for Selected Processors.MSXSL. Saxon. Xalan.
Appendix D. XML Resources on the Web.