XML for Web Developers
Revision: TE3502_20060619
Course Length:
3 Days
Course Description:
This comprehensive course gives the student an introduction to the eXtensible Markup Language, or XML, and to several technologies that support management and presentation of XML documents on the Web.
Who Should Attend:
Those who desire a working knowledge of XML for the purpose of authoring Web documents, designing websites, and especially for managing and transforming XML documents as part of developing a web site.
Benefits of Attendance:
Upon completion of this course, students will be able to:
- Use cascading stylesheets to present XML documents directly in a web browser.
- Use basic XPath and XSLT to transform XML documents into HTML for web presentation, with or without associated CSS.
- Express relationships between XML documents using simple XLinks.
- Understand the potential for extended XLinks in a document base or website.
- Write scripts into an XML document that use the DOM to manipulate the document in the browser, to enhance its presentation or filter content.
- Write scripts that handle browser-interpreted user events to modify the XML document and presentation in the browser.
- Use XSLT for XML-to-XML transformations.
- Use the built-in template rules correctly to process the right source information.
- Control exact production of text, HTML and XML elements, and whitespace.
- Use looping and conditional processing to manage output production.
Prerequisites:
Familiarity with JavaScript and HTML is preferred.
Course Outline:
- Chapter 1: Introduction
- History
- What is a Markup Language?
- SGML – Standard Generalized Markup Language
- HTML – Hypertext Markup Language
- Sample HTML Document
- XML – Extensible Markup Language
- XML Vocabularies
- Creating Semantic Tags
- Chapter 2: Getting Started With XML
- XML Syntax
- Elements
- Attributes
- Comments
- Unicode and Character Sets
- Character References
- Entity References
- Character Data Sections (CDATA)
- Processing Instructions
- Parsing XML
- Chapter 3: Document Type Definitions
- Introduction to DTDs
- Element Type Declarations
- Cardinality Summary
- Attribute Type Declarations
- String Attribute Type Declarations
- Attribute Default Specifications
- Enumerated Attribute Type Declarations
- ID Attribute Type Declarations
- IDREF and IDREFS Attribute Type Declarations
- NMTOKEN Attribute Type Declarations
- Entity Type Declarations
- Entity Declarations
- ENTITY Attribute Type Declarations
- NOTATION Attribute Type Declarations
- Chapter 4: Cascading Style Sheets Level 2 (CSS2)
- What is a CSS?
- Creating CSS2 Stylesheets
- Selecting Elements
- Pattern Matching
- STYLE Attributes
- Inheritance
- Cascades
- Multiple Stylesheets
- Comments
- Property Names and Values
- Chapter 5: XML Stylesheet Language (XSL)
- What is XSL?
- What is XSLT?
- Using XSLT
- XSL Syntax
- Namespaces
- Trees and Nodes
- Associating Documents with Stylesheets
- XSL Stylesheet Element
- XSL Template Elements
- Accessing Node Values
- XSL Apply-Templates Element
- XSLT Match Patterns
- Expressions as Tests in Patterns
- Matching by ID
- XSL If Element
- XSL Choose Element
- XSL For-Each Element
- XSL Sort Element
- XSL Comment Element
- Miscellaneous
- Chapter 6: XML Schema
- Introduction to XML Schema
- XML Schema Syntax
- Simple Types
- Built-In Primitive Simple Types
- Built-In Derived Simple Types
- Datatype Hierarchy
- Using Built-In Datatypes
- Defining Your Own Simple Types
- Facets
- List Types
- Union Types
- Complex Types
- Global vs. Local Elements and Attributes
- Complex Types with Simple Content
- Complex Types with Mixed Content
- Complex Types with No Content and Any Content
- Annotations
- Chapter 7: Scripting With the DOM
- The Document Object Model (DOM)
- Web Browsers and Parsers
- Parsing the XML Document
- Trees and Nodes
- DOM Node Types
- Chapter 8: Future XML Capabilities
- XLink
- XPointer



