1 Day Course
Course Overview:
This course introduces the XSLT language (eXtensible Stylesheet Language Transformations). The XSLT specification is maintained by the W3C (World Wide Web Consortium) and is a core part of the growing family of XML technologies. A related XML technology is the XPath language, which is required for using XSLT stylesheets. Students in this course will therefore learn the basic elements of the XSLT language, as well as the syntax of XPath. The numerous built-in XPath functions are also covered thoroughly. Using XSLT and XPath, students will transform XML documents into other XML documents, and into HTML for display in a browser. The MSXML parser is used in conjunction with the Internet Explorer browser for data examples
Prerequisites
This course is for anyone already introduced to the basics of XML and its related technologies, and who is interested in XML programming. Students should have a strong background with HTML, and preferably have some knowledge of CSS and general programming concepts. This course was designed for the student who is familiar with the general concepts involved in XML. Students should have a solid grounding in HTML. Some knowledge of basic programming concepts and/or experience with Web scripting (VBScript or JavaScript) would be helpful. Prior to taking this course, students should take the following Element K courses or have equivalent knowledge: HTML 4.0 Level 1, HTML 4.0 Level 2, Cascading Style Sheets, XML Introduction, Introduction to Programming.
Course Content
Lesson 1: Introduction to XML Output
- What is a Stylesheet?
- Viewing XML Formatted with Various Stylesheets
- Exploring an XSLT Stylesheet
- Exploring the Differences in XSLT Versions
Lesson 2: Basic XSLT Templates
- XSLT Basics
- Creating the Outline Foundation of an XSLT StylesheetXPath
- Practice Outputting Element Content
- Outputting Attribute ValuesUsing HTML with XSLT
- Formatting XSLT Output With HTML
- Using a Simplified Stylesheet
- Output Other Than HTML
- Transforming to XML
Lesson 3: Basic XSLT Templates, Part 2
- The Nature of XSLT Templates
- Using To Control Processing Flow
- Comparing and Sorting Elements in and Contexts Elements, Attributes, Comments, and Text
- Using Elements
- Exploring the uses of XSLT Comments and Text
Lesson 4: XSLT Conditional Elements
- If/Then Conditionals
- Using the Element Testing Multiple Conditions
- Using Elements as a Conditional Filtering and Order Control
Lesson 5: XPath Node-Set and Boolean Functions
- XPath Node-Set FunctionsUsing last(), count(), and position()
- Retrieving Element Names and Their Text Values
- XPath Boolean Functions
- Using Simple Boolean Functions
- Using the lang() Function
Lesson 6: XPath String and Number Functions
- XPath String Functions
- Using Simple String FunctionsUsing contains() and starts-with()
- Using Substring Functions With Date Strings
- XPath Number Functions
- Using XPath Number Functions
For more information on Acumen Classes
Please contact Deb Wagnon 314.333.3330
or
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
1750 South Brentwood Blvd.
Suite 200
Saint Louis, MO 63119
|