Sams Teach Yourself XSLT in 21 Days
Besorgung - Lieferbarkeit unbestimmt
BeschreibungThe 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: Selecting Data-Stylesheets and Xpath Basics; Inserting text and elements in output; Copying elements from the source and inserting text; Conditional processing basics and expressions; Modularizing stylesheets; Understanding, creating, and using templates; Controlling output, as well as creating more advanced output; Using multi-file stylesheets, variables, and parameters; Working with numbers, strings, multiple XML sources, and namespaces; Selecting data based upon keys; Recursion; Creating computational stylesheets; Working with parses; Designing XML and XSLT applications; Extending XSLT.
Inhaltsverzeichnis(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 Variables Understanding 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. Index.
PortraitMichiel van Otegem lives and works in the Netherlands. He is the co-founder and Chief Web development Teacher of ASPNL, a consulting and teaching firm targeting the Dutch and European market. He teaches advanced ASP, ASP.NET, and XML/XSLT classes, and writes articles and tutorials for magazines and Web sites, such as ASPNL.com, TopXML.com, ASPAlliance.com, CoDe Magazine, and asp.netPRO magazine. He has had a passion for programming ever since he wrote his first programs in MSX Basic and Z80 assembler, at age 10. Now, nearly two decades later, he is a pioneer in Web development, quick to embrace technologies such as XML and ASP(.NET). He has worked with a wide range of languages and platforms, including ASP(.NET), Visual Basic, Access/SQL Server, C/C++, CGI/Perl, PHP, and, of course, XML and XSLT. He is a long-time contributing member of ASPFriends.com mailing lists, which he now helps to moderate and improve as a valued ASP Ace member.
Untertitel: Teaches XSLT from the ground up for people with little or no knowledge of it. Apply your knowledge i. 'Sams Teach Yourself. . in 21 Da'. Sprache: Englisch.
Erscheinungsdatum: Februar 2002
Seitenanzahl: 672 Seiten