Zoom Outline PDF View  or  Email  


XML Developers Programme




AUDIENCE:   This course is for Developers requiring an in-depth working knowledge of the XML language, it’s application and implementation.

PREREQUISITES:   Those wishing to attend should have a good working knowledge of Cascading Style Sheets and JavaScript gained through experience or prior attendance on introductory level courses.

DURATION:   5 days. Hands on.

OBJECTIVES:   Maximize web site usability while maintaining the structure necessary to allow the site to grow with XML. XML separates data from display so there is no end parser in mind - display the same information on a Web browser, a cell phone, or a Palm Pilot! This course provides students with intensive, hands-on XML instruction.
On completion of the course delegates will be able to:
- Understand the Role of XML Applications.
- Create and Display XML documents on a Browser.
- Set standards for your XML documents: Incorporate Document Type.

COURSE CONTENT:  

Introduction to XML
Overview • The Development of XML • Exercise 0: Downloading and Extracting the Files for today’s class • An XML Example • Why XML?

XML and Browser Compatibility
Microsoft and XML Extensions • Why Use a Browser to Display XML?

Examining an XML Application
The Components of an XML Application • Exercise 1: Completing an HTML “Wrapper”

XML Syntax
XML Logical Structure • XML Physical Structure • XML Logic: Designing Datasheets • Exercise 2: Building a well-formed XML document from text data • XML Attributes Revisited • Why Use Attributes? • An Introduction to Our Demo Application • Exercise 3: Adding attributes to your XML Datasheet

Document Type Definitions (DTDs)
Example: A Basic DTD • Validating Against your DTDs • Exercise 4: Adding an Internal DTD to your XML Datasheet • External DTDs • Public vs. System DTDs • Exercise 5: Creating an External DTD, and linking it to your XML Datasheet

XML Namespaces

XML Schemas
Current Status of the XML Schema Proposal • Referencing An XML Schema • The xsi Namespace • An XML Schema Document • Beginning a Schema Document • Exercise 6: Beginning an XML Schema Document • Specifying Document Structure with your Schema • Declaring Attributes • Exercise 7: Writing your Schema to Describe Document Structure • Restricting Content with Schemas • Specifying Default Values • Validating Against Schemas • Exercise 8: Restricting Content of your simpleType Elements

Using Cascading Style Sheets (CSS) to Present XML Data
A Brief Review of CSS Rules • Exercise 9: Displaying XML Data with a CSS Stylesheet

Extensible Stylesheet Language (XSL)
XSL, XSLT, and XSLFO • XSL Basics: Linking to an XSL Stylesheet • Examining an XSL Stylesheet • Exercise 10: Beginning an XSL Stylesheet • xsl:apply-templates and Iterative Content • XPath: the XSL Node Matching Syntax • Exercise 11: Displaying Iterative Data with Your XSL Stylesheet • Using xsl:sort to re-sort your display • Exercise 12: Adding a Sort Order to your XSL • Generating Hyperlinks with XSL • Exercise 13: Generating Hyperlinks with XSL • Loops with XSL • Exercise 14: Adding an xsl:for-each Loop to Your Stylesheet

Displaying Complex Structures with XSL
Exercise 15: Building an HTML Table with XSL

Conditional Logic in XSL
xsl:if For Conditional Output • Multi-Option Branching with xsl:choose, xsl:when, and xsl:otherwise • Conditional Operators in XSL • Exercise 16: Using XSL Conditionals to Identify Oscar-Winners

XPath Expressions and XSL Functions
XPath Expressions and Filters • Exercise 17: Using XPath Filtering Expressions • Aggregate Functions • Exercise 18: Adding Aggregate Functions to your Stylesheet • Data Conversion, Calculations, and Variables • Variables in XSL and the xsl:variable Tag • Exercise 19: Translating Meters to Feet Using XSL • Calculations and Number Formatting Functions • Exercise 20: Using XSL Calculations to Produce Feet and Inches

Building the HTML Front End to XML Data
Data Islands and the HTML


JM07/01 tag • Exercise 21: Creating an HTML Wrapper for your Movie List Application



Dynamic XSL Changes

Using XSL Updating to Re-Sort XML Data • Exercise 22: Allowing Users to Re-Sort their Display • Using XSL to Produce New XML • Exercise 23: Producing a datasheet organized by film rather than by actor



Introduction to Server-Side XML

Review: A Client-Side XML Document • Server-Side XML Data • A Brief Introduction to Active Server Pages • An Analysis of the wrapper.asp Code • Installing the MSXML2.DOMDocument.3.0 Component on your Server • Exercise 24: Completing an ASP to Evaluate an XML Document on the Server



Saving XML Output to a File

Exercise 25: Saving your HTML output as a File



Advanced XSL

Using to Parse your XML Hierarchy • Exercise 26: Transforming an XML Press Release into HTML for Display



Producing Multiple Outputs from one XML Document

Outputting Text Files with XSL • Exercise 27: Building an XSL Stylesheet to Output a Text Version of our Press Release



Outputting XML with XSL

Exercise 28: Building New Output for the XML Menu • Using xsl:attribute and xsl:element to Build New Markup Dynamically • Exercise 29: Making your XSL Transformation Reusable



Generating Data Drill-Downs

Exercise 30: Building a Drill-down for your Menu Data • Dynamic XSL Modification I: Displaying More Information Without Losing Your List of Links • Dynamic XSL Modification II: Moving the Application to the Server



Dynamic Searching With XSL

Exercise 31: Constructing a Search Interface for your Menu



XML-Database Integration

An Introduction to the Database for this Class • Direct Database Generation of XML • Note: ASP Errors in XML • Exercise 32: Generating XML Data from the Database • Loading Database Data into a Server-Side Script • Exercise 33: Loading and Evaluating Database Data on the Server • Saving the XML You Generate from Database Data • Exercise 34: Saving Your Menu XML in an XML file



The XML DOM

Partial Searches with JavaScript • Exercise 35: Creating a DOM Search Interface for Your Menu List • Building a Tree Display of your XML Content • Exercise 36: Building a Tree Display of your XML Data • Adding to and Modifying Nodes in your XML Hierarchy • Exercise 37: Building an Interface for Viewing and Modifying your XML • Saving Additions to your XML • Exercise 38: Reading Form Data into your XML



Building a Database Table from XML Data

Exercise 39: Creating and Building a DB Table for Your Menu Data

© 2007 Verhoef Training, Ltd.

Course Information

Date Location Price(£)





Copyright © 2007 - Verhoef Group of Companies - All Rights Reserved