 |
|
There are many excellent online courses. This has been hugely beneficial in my day to day work.
|
|
- Louise Nolan
|
|
|
|
|
XML Programming
Course Aims
The object of this course is to familiarize the student with the XML Language and enable the student to create XML documents incorporating DTD’s, Cascading Style Sheets and XSL, integrate scripting languages (Jscript) and XML, use XML as a database using Data Source Objects (DSO) and various new technologies like Schema’s, Namespaces, XLink, and XPointer. |
Assumed Knowledge
A prior knowledge of HTML and scripting languages is essential. |
Course Audience
Students familiar with scripting languages (like Jscript and VBScript) and HTML. Students should also be familiar with Windows. |
|
This course can be found in the following categories:
|
|
|
|
Table of Contents
|
Introduction to XML
|
Structures of XML Document
|
|
|
|
Well-Formed XML Documents
|
Creating a Simple XML Document
|
|
Loading the XML File into a Web Browser
|
|
Exploring the Simple XML Document
|
|
Assigning Meaning to XML Tags
|
|
Writing a Style Sheet for an XML Document
|
|
Attaching a Style Sheet to an XML Document
|
|
A Well-formed XML document
|
|
Summarizing Basic XML Rules
|
|
|
|
Creating DTD’s
|
Exercise 3:1:Internal DTD subset
|
|
Elements with only character data
|
|
Elements with any contents
|
|
Elements with children (sequences)
|
|
Declaring only one occurrence of the same element
|
|
Declaring minimum one occurrence of the same element
|
|
Declaring zero or more occurrences of the same element
|
|
Declaring zero or one occurrences of the same element
|
|
Declaring either/or content
|
|
Attribute declaration example
|
|
Enumerated attribute values
|
|
Exercise 3:2:Parsed Entity
|
|
Internal and External Entities
|
|
Exercise 3:3 Unparsed Entity
|
|
|
|
Introduction to XML Schema
|
Simple XML Schema Example
|
|
Comparison of DTD and Schema
|
|
Uniform Resource Identifier (URI)
|
|
|
|
XSL Transformation
|
XSL (eXtensible Stylesheet Language)
|
|
XSLT - XSL Transformations
|
|
Exercise 5:1: A simple XSLT example
|
|
The xsl:stylesheet element
|
|
The xsl:template Element and match attribute
|
|
The xsl:apply-template Element and select attribute
|
|
Exercise 5:2 : Using xsl:template and xsl:apply-templates
|
|
Exercise 5:3 : Using xsl:for-each and xsl:value-of
|
|
Matching the root node using the value "/"
|
|
Matching the Children of a particular node
|
|
Exercise 5:4: Matching root element
|
|
Applying a particular style to a single element
|
|
Using the order-by attribute
|
|
Exercise 5:5 : Sorting using order-by attribute
|
|
Exercise 5:6 : Sorting using xsl:sort element.
|
|
|
XSL Filtering
|
Exercise 5:7 : Using xsl:if element.
|
|
Exercise 5:8 : Using xsl:choose element
|
|
|
|
Merging the multiple style sheets
|
Merging the multiple style sheets
|
|
|
|
Data Source Objects (DSO)
|
Accessing a Single Record through DSO
|
|
Properties and its Actions
|
|
Exercise 6:1:Accessing a single Record.
|
|
Exercise 6:2: Accessing all Records.
|
|
Working with the inline XML data islands
|
|
Exercise 6:3:inline XML data islands
|
|
Working with Linked XML Data Islands
|
|
Advantages of Data Islands
|
|
Disadvantages of Data Islands
|
|
Exercise 6:4:Linked XML Data Islands
|
|
Displaying Hierarchical Recordset
|
|
Exercise 6:5:Displaying Hierarchical Recordset
|
|
Working with XML attributes
|
|
Exercise 6:6:Working with XML attributes
|
|
|
|
|
XLinks and XPointers
|
|
|
Exercises and Solutions
|
Exercise 8:1: DSO - Data Islands
|
|
Exercise 8:2: DSO – Paging
|
|
Exercise 8:3: XML display using CSS
|
|
Exercise 8:4: XML display using XSL
|
|
Exercise 8:5: XML display using JScript
|
|
Exercise 8:6: XML linked with HTML page.
|
|
Exercise 8:7: XML with XSL(using xsl:template)
|
|
Exercise 8:8: XML with XSL Sorting.
|
|
|
|
|
|