Résumé
- XML and XSLT fundamentals
- Converting an XML document to a tree
- XPath expressions and context node
- Matching templates and current node
- Control elements in XSLT
- Constructing the result tree and output document
- XSLT idioms and tips for effective use
Contents
PART I.
The Importance of Extensive XML Documents.
The Difference between XML and HTML.
Presenting XML Documents.
The Role of XSLT.
XSLT in the HTML Publishing Pipeline.
Summary.
Looking Ahead.
2: XML.
The Basic XML Document Structure.
Valid Names in XML.
Elements.
Character Data.
Entities.
Processing Instructions.
Comments.
The Root of an XML Document.
Summary.
Looking Ahead.
3: Introduction to XSLT.
Designing XSLT Documents.
Summary.
Looking Ahead.
PART II
Converting an XML Document to a Tree.
Traversing a Tree.
Document Order.
Distinctness of Nodes in a Tree.
Summary.
Looking Ahead.
5: Paths.
Location Paths.
Combining Steps.
Data Types and Operations.
Names of Nodes.
Examples of XPath Expressions.
Summary.
Looking Ahead.
6: Transformation.
Literal Result Elements.
A Simple Template with an xsl:apply-templates Element.
Nested xsl:apply-templates Elements.
Patterns.
Matching Template.
Template Priority.
Current Node and Current Node List Versus Context Node and Context.
Another Look at XSLT Documents.
Summary.
Looking Ahead.
7: Control.
The for-each Element.
Looping with Named Templates.
Sorting.
Sending Messages to the Console.
Parameters Outside the XSLT Document.
Summary.
Looking Ahead.
8: Constructing the Result Tree.
Including Literal Result Elements.
Constructing Elements.
Inserting Comments.
Inserting Processing Instructions.
The xsl:text Element.
The xsl:value-of Element.
Variables.
Result Tree Fragments.
Whitespace-Only Text Nodes.
Summary.
Looking Ahead.
9: Combining Templates.
The xsl:import Element.
The xsl:apply-imports Element.
Summary.
Looking Ahead.
10: Extensions.
Using Extension Functions.
Using Extension Elements.
Checking Availability.
Summary.
Looking Ahead.
PART III
Character Replacement.
Using xsl:include for Project Reuse.
Using xsl:import for Reuse from Different Projects.
Using the mode Attribute to Organize Templates.
The xsl:include and xsl:import Elements.
Using a Global Parameter to Seed Configuration.
Absolute Paths and Template Patterns.
Steps for Template Patterns.
Using Simple Predicates in Template Patterns.
Using translate()to Convert Cases.
Short Templates.
Identifying Your XML Data.
Using xsl:apply-templates.
One Page at a Time.
Mockup, Generalize, Write.
Working Directory.
Inside-Out XSLT Template Application.
Removing an Element.
Using XML Configuration Files.
Using Lineup Files.
One Subtree at a Time.
Using xsl:copy-of.
Overriding Default Templates.
Avoiding the Descendant Axis.
Reducing the Size of Node-Sets.
Avoiding Multiple Predicates.
Summary.
Looking Ahead.
12: A Case Study.
Designing the XML Files.
Organizing the XSLT Documents.
Designing the XSLT Templates.
Summary.
Looking Ahead.
PART IV
XSL.
SVG.
Transforming an XML Document to Text.
Summary.
Appendix A: Tools and Resources.
Resources.
XSLT Web Sites and Mailing Lists.
Where to Find the Examples.
Appendix B: Character Sets and Encoding Schemes.
Appendix C: XSLT and XPath Reference.
XSLT and XPath Functions.
Suggested Resources.
Index.
L'auteur - Khun Yee Fung
Khun Yee Fung is a senior software architect at
ExtendMedia, Inc., an interactive TV and Web site content
designer and provider. He has trained HTML developers to
become XSLT developers, and was involved in the
architecture and design of a Web site publishing system
that uses XML and XSLT.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Khun Yee Fung |
Parution | 01/12/2000 |
Nb. de pages | 441 |
Format | 18,6 x 23,4 |
Couverture | Broché |
Poids | 949g |
Intérieur | Noir et Blanc |
EAN13 | 9780201711035 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse