rent-now

Rent More, Save More! Use code: ECRENTAL

5% off 1 book, 7% off 2 books, 10% off 3+ books

9780596527211

XSLT

by
  • ISBN13:

    9780596527211

  • ISBN10:

    0596527217

  • Edition: 2nd
  • Format: Paperback
  • Copyright: 2008-06-01
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $2.00
  • Buy New
    $49.94
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Summary

There's been great anticipation surrounding the release of XSLT 2.0, the new language specification that's critical for converting XML documents into other formats, such as HTML code or a PDF file. The XSLT 2.0 specification is approaching completion at long last, but unfortunately, version 2.0's delays and complexity have forced developers to rely on the XSLT 1.0 standard longer than they anticipated. Both specifications will be in use during what is likely to be a long transition period.The second edition ofXSLTincorporates new material for XSLT 2.0 and expounds on the lessons learned over the last six years of XSLT 1.0 use. Whether you're looking for the latest and greatest in XSLT 1.0 techniques, or is moving on to XSLT 2.0, this new edition of XSLT will address your needs. The book includes plenty of practical, real-world examples to show you how to apply XSLT stylesheets to XML data using either version.You'll get a thorough understanding of XSLT and XPath and their relationship to other web standards, along with recommendations for a honed toolkit in an open platform-neutral, standards-based environment. Author Doug Tidwell starts with the basics: simple stylesheets and methods for setting up transformation engines. Then he works through examples that develop your understanding of the many parts of XSLT, particularly XSLT's template-based approach to transformations. This new edition has been updated to explain XSLT 2.0's many dependencies, notably XML Schema and XPath 2.0.

Table of Contents

Prefacep. xi
Getting Startedp. 1
The Design of XSLTp. 1
XML Basicsp. 4
Installing XSLT Processorsp. 20
Summaryp. 24
The Obligatory Hello World Examplep. 25
Goals of This Chapterp. 25
Transforming Hello Worldp. 25
How a Stylesheet Is Processedp. 27
Stylesheet Structurep. 30
Sample Galleryp. 36
Summaryp. 44
XPath: A Syntax for Describing Needles and Haystacksp. 45
The XPath Data Modelp. 46
Location Pathsp. 55
Attribute Value Templatesp. 66
Datatypesp. 67
XPath Operatorsp. 71
[2.0] Comments in XPath Expressionsp. 102
[2.0] Types of XSLT 2.0 Processorsp. 104
The XPath View of an XML Documentp. 104
Summaryp. 112
Creating Outputp. 113
Goals of This Chapterp. 113
Generating Textp. 113
Numbering Thingsp. 118
Formatting Decimal Numbersp. 127
[2.0] Formatting Dates and Timesp. 130
Using [left angle bracket]xsl:copy[right angle bracket] and [left angle bracket]xsl:copy-of[right angle bracket]p. 132
Dealing with Whitespacep. 139
Summaryp. 144
Branching and Control Elementsp. 145
Goals of This Chapterp. 145
Branching Elements of XSLTp. 145
Invoking Templates by Namep. 151
Parametersp. 152
Variablesp. 167
Using Recursion to Do Most Anythingp. 169
A Stylesheet That Emulates a for Loopp. 174
Summaryp. 179
Creating Links and Cross-Referencesp. 181
Using the XML ID, IDREF, and IDREFS Datatypesp. 181
XSLT's Key Facilityp. 194
Generating Links in Unstructured Documentsp. 198
Summaryp. 204
Sorting and Grouping Elementsp. 205
Sorting Data with [left angle bracket]xsl:sort[right angle bracket]p. 205
[2.0] The [left angle bracket]xsl:perform-sort[right angle bracket] Elementp. 215
Grouping Nodesp. 219
[2.0] New Grouping Syntax in XSLT 2.0p. 228
Summaryp. 243
Combining Documentsp. 245
The document() Functionp. 245
The document() Function and Sortingp. 254
Implementing Lookup Tablesp. 254
Grouping Across Multiple Documentsp. 257
[2.0] Using XSLT 2.0 to Simplify Thingsp. 260
[2.0] The doc() and doc-available() Functionsp. 269
[2.0] The collection() Functionp. 271
[2.0] The unparsed-text() and unparsed-text-available() Functionsp. 272
Summaryp. 275
Extending XSLTp. 277
The XSLT Extension Mechanismp. 277
[2.0] Creating New Functions with [left angle bracket]xsl:function[right angle bracket]p. 279
Example: Generating Multiple Output Filesp. 281
Creating Custom Collationsp. 287
Generating Hidden Word Graphicsp. 293
Example: Generating an SVG Pie Chartp. 303
Writing Extensions in Other Languagesp. 326
Using Extension Functions from the EXSLT Libraryp. 330
Accessing a Database with an Extension Elementp. 333
Creating a Photo Album with an Extension Elementp. 339
Summaryp. 360
XSLT Referencep. 361
XPath Referencep. 545
XSLT, XPath, and XQuery Function Referencep. 563
XML Schema Overviewp. 871
[2.0] Regular Expressionsp. 897
XSLT Formatting Codesp. 919
XSLT 2.0 Migration Guidep. 925
Glossaryp. 933
Indexp. 943
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program