|
|
|
wl425-ver1.0
Advanced XML and XSL (2 days)
Description
This courseware training guide book will build on a basic XML knowledge and focuses on creating modular and flexible stylesheets. Complexities like XPath, functions, modes, and dynamic modification of stylesheets is discussed with many examples and exercises. This is the perfect class for mastering the techniques required to transform your XML data into the various formats your applications demand.
Prerequisites• Introduction to XML and/or Significant experience using XML and XSLT
• Basic familiarity with JavaScript
Next Courses• Integrating ASP and XML
• Integrating JSP and XML
Objectives• Parse documents sequentially
• Work with XPath axes and expressions
• Utilize functions and calculations in stylesheets
• Write reusable XSL stylesheets
• Learn about modes and named templates
• Produce output in multiple formats
• Dynamically modify stylesheets
• Preform dynamic searches with XSL
Course OutlineIntroduction and Goals of the Course • Where does XSLT fit in? • Goals of the Course
Review: Processing an XML Datasheet with XSL • An analysis of the XSLT code • Variables in XSL and the xsl:variable Tag
Using XSL to Parse Documents Sequentially • Understanding Mixed-Content Elements in XSL • Transforming an XML Sonnet for Display • Producing Combination-Type XSL Style sheets
Numbering with xsl:number • The <xsl:number> tag
• XPath Axes and Expressions • Using Axis Expressions to Specify Relationships
Functions and Calculations • Common XSL Functions • Arithmetic in XSL • Number Formatting • Measuring Node Position
Writing Reusable Code • Named Templates
Modes: Applying Different Templates to Nodes with the Same Name • Generating Unique Identifiers for Internal Hyperlinks
Producing Output in Multiple Formats • Producing Plain Text with XSL • Using Template Recursion to Produce Content • Producing New XML • Reusable Conversion Templates • Making Exceptions in your Template Rules
Dynamic Modification of XSL • Generating Data Drill-Downs • Displaying More Information Without Losing Your List of Links
Creating Scrollable Displays • Dynamic Searching with XSL
Including External Code Libraries • xsl: import vs. xsl:include • Case-insensitive searching
Appendix A: Introduction to the XML DOM • Partial Searches with JavaScript • Building a Tree Display of your XML Content
|
|
|
|
|