XSLT and XPATH: A Guide to XML Transformations
John Robert Gardner
Zarella L. Rendon

ISBN-10: 0130404462
ISBN-13: 9780130404466

Publisher: Prentice Hall
Copyright: 2002
Format: Paper; 592 pp
Published: 07/26/2001

Suggested retail price: $44.99
Buy from myPearsonStore

This book shows XML programmers how to use XSLT to transform XML documents.

All the insights, examples, and tools you need to get results with XSLT and XPath now!

  • Master XSLT and XPath through detailed sample code -- explained line-by-line.
  • Leverage your existing HTML markup skills -- whether you're an experienced programmer or not.



Preface.


Acknowledgments.


1. Anatomy of an XSLT Stylesheet.

What Is Markup? What Is XSLT? What Is XPath? XSLT Stylesheet Concepts. Terminology for XSLT. Climbing `Round the Family Tree: Addressing in XSLT.



2. Fundamental Concepts of XSLT Stylesheets.

Boilerplates for XSLT Stylesheets. Embedding Stylesheets in XML Documents. XSLT Stylesheet Terminology. XML Components of XSLT Stylesheets.



3. Advanced Stylesheet Concepts.

Templates: The Building Blocks of Transformations. Built-in Template Rules.



4. XPath Expressions.

XPath Syntax and Terminology. Abbreviations.



5. XPath Functions.

XPath Function Library. The Node-set Core Function Group. String Core Function Group. Boolean Core Function Group. Number Core Function Group.



6. Building New XML Documents with XSLT.

Creating Elements with LREs. The <xsl:element> Instruction Element. Creating Attributes with the <xsl:attribute> Instruction Element. The <xsl:attribute-set> Top-Level Element. The <xsl:text> Instruction Element. Adding Attributes to LREs. Comments and Processing-Instructions. Namespace Aliases.



7. Using Multiple Stylesheets.

Working with External Stylesheets. Template Rule Processing and Priorities.



8. Working with Variables.

Declaring and Binding Variables. Result Tree Fragments. Using Variable References. Comparing <xsl:variable> and <xsl:param>. Comparing <xsl:with-param> to <xsl:param> and <xsl:variable>.



9. Duplication, Iteration, and Conditional XSLT Elements.

The <xsl:copy-of> Instruction Element. The <xsl:copy> Instruction Element. The <xsl:for-each> Instruction Element. The <xsl:sort> Element. The <xsl:if> Instruction Element. The <xsl:choose> Instruction Element. The <xsl:number> Instruction Element.



10. Controlling Output Options.

The <xsl:output> Top-Level Element. The <xsl:strip- space> and <xsl:preserve-space> Top-Level Elements. Generating Error Messages and Logs.



11. XSLT Functions and Related XSLT Elements.

XSLT Function Groups. String XSLT Functions. The Boolean XSLT Function Group.



12. XSLT Processors, Extensions, and Java.

XSLT Processors. Extension Elements and Functions. Namespaces. Java. Commercial XSLT Processors.



13. Xalan, Saxon, and XT.

Xalan. Saxon. XT. Generating Multiple Output Files Using Saxon, Xalan, or XT.



Appendix A: Case Studies.

Lists. MARC Records: The ATLAS Project from ATLA-CERTR at Emory University. The Harvard-Kyoto Classics Project with Vedic Literature.



Appendix B: Grouping Using the Muenchian Method.


Appendix C: Using XSLT for the Artificial Intelligence “N-Queens” Problem.

Architecture. The Stylesheet. Final notes.



Index.

JOHN ROBERT GARDNER, Ph.D., is an Architect with Sun Microsystems, Inc., a leading provider of industrial-strength hardware, software, and services that power the Internet and B2B.

ZARELLA L. RENDON is Senior Applications Engineer and co-founder of ISOGEN International, a leading provider of XML and SGML solutions. She is a member of the W3C XSL Working Group.

Gain total control over your information with XSLT and XPath!

  • Master XSLT and XPath—the "keys to the XML kingdom"
  • Build custom XML output solutions that won't become obsolete
  • Learn everything from basic XML-to-HTML conversions to leading edge techniques
  • CD-ROM includes all examples from the book

Mastering XSLT and XPath gives you unprecedented control over your information—and helps you leverage virtually every new XML technology, from XLink to schemas. Discover XSLT's powerful vocabulary of easy, programming-like features, and learn how to build custom solutions that resist obsolescence. By the end of the first chapter, you'll be performing XML-to-HTML conversions for display in any Web browser. Then build on your knowledge through a series of hands-on examples that transform you into an XSLT/XPath expert!

  • XSLT as an XML document instance: leveraging your existing XML skills
  • XSLT stylesheet concepts and constructs: fundamental through advanced level
  • XPath patterns and functions
  • XSLT subroutine functions and variables
  • XSLT processing of multiple nodes: iterative and conditional XSLT elements
  • Controlling output options
  • XSLT extensions, and more

Whether you're an experienced programmer or a novice markup specialist, here's your chance to master XML's most potent tools for organizing, updating, and delivering digital information—any data, anywhere, any time!

View a Sample Chapter PDF: /samplechapter/0130404462.pdf

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students, contact your Pearson Higher Education representative for pricing and ordering information.

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.


Copyright ©2008 Pearson Education. All rights reserved. Legal Notice | Privacy Policy | Permissions