Seneca College main page

Advanced HTML

BCS 500

Seneca College, Newnham Campus, Toronto, Canada
the principle tag editor we use for BCS 500
Section A Section B Section Sound Section Java Section MKT Section XML

Detailed Course Outline

this page last updated 2001 April 4

click here to go the W3C page to check the pages that you are building

Since this section was taught in April 2000, it has to be extensively re-done before teaching it in April 2001.
Some of the links are broken and new information is being added in.
xmetal page Guest Lecturer

Pam Hardin
Tech Support Team Leader
Softquad Software, Ltd.

will come to Seneca's
BCS 500 class to talk about
XML basics - April 9th

XMetal 2.0 - April 11th

xmetal page XML does have a commercial editor called by its brand name XMetal 2.0
In this section of the course, we will have special guest speakers from Softquad, the makers of XMetal.

Softquad is the world's leading developer of XML software and has some of the globe's key experts on XML working with their company.

XMetal FAQ


How XML works

An example of a difference between line of code in an HTML file and a XML file

  Jane Doe
another example of the HTML /  XML difference by Bert Bos

What is XML

What is XML

Chpt 14


What is XML

What is XML



Q - Arenít XML, SGML, and HTML all the same thing?
A - no. not quite
Maintained on behalf of the World Wide Web Consortiumís XML Special Interest Group by Peter Flynn, (University College Cork)

from Rick Darnell's book  HTML Unleashed
Chapter 38 - The Emergence of eXtensible Markup Language
 - you can read most of this chapter on-line at the publisher's web site
 -  the premises of XML
"In a sense, XML is positioned somewhere in between SGML and HTML, with the intent of its creators being to combine the best features of these two languages.  However, XML is much closer to SGML than to HTML, and although knowledge of HTML will help you understand the most obvious XML features, an acquaintance with SGML syntax and ideology would be of much better help. "
 -  well formed XML documents
 -  linking capabilities of XML

The SGML/XML Master Web Page by Robin Clover the main page of  links

How is XML used? - by Martin Bryan of The SGML Centre 

Because XML tag sets are based on the logical structure of the document they are somewhat easier to understand, and
remember, than physically based markup schemes of the type typically provided by word processors. An XML memo might be
coded as:

<to>All staff</to>
<from>Martin Bryan</from>
<date>5th November</date>
<subject>Cats and Dogs</subject>
<text>Please remember to keep all cats and dogs indoors tonight.</text>

A look at XML, by Adam Rifkin
on the

"XML is not a replacement for HTML, either: HTML is a useful tool for 
storing and exchanging small hypermedia documents across the Internet.
Furthermore, it is easy to generate HTML documents on the fly from XML
(or SGML) documents. XML is designed to complement HTML by enabling
different kinds of data to be exchanged over the Web."
This diagram explains how XML is a 
family of tools.

Original diagram is from the W3C site at

extensive XML site

Home Pages of SGML/XML Experts
(by Robin Cover)
How XML works

link to Sybex page for this text

How XML works

link to Sybex page for this text

How XML works

How XML works

How XML works

How XML works

Natanya Pitts wrote a book titled XML In Record Time which the professor of this course has used. This book is published by Sybex group.
Sybex menu page for all their books link to Sybex page for this text
Sybex Main Page for the book
There is a web site for XML In Record Time which has many helpful links because much of what is in the book you buy, is also available on their web site for free.

XML presentation by Ryan McRonald of York University
One of Ryan McRonald's slides explaining XML
Another XML Powerpoint presentation by R M on
XML Syntax

This particular slide
explains the importance of a DTD which "sets up" the elements
After you do the DTD, you then need to do the page with the Elements
XML and E-commerce
(XML augmenting EDI),10475,2610043,00.html 

"For some very good reasons, XML has quickly gained a reputation as the lingua franca of B2B e-commerce. Based on Internet protocols such as HTTP, XML is much easier and less expensive to deploy on the Web than EDI, making it a natural for smaller businesses without the IS staffs or money to deploy EDI. In fact, by next year, 70 percent of all B2B transactions executed on the Web will be done using XML, Gartner Group Inc. predicts. The bulk of those transactions will involve small and midsize enterprises that today do not use EDI."




XML and E-commerce
Why is XML being touted so highly as a critical contribution to e-commerce

Read the text of a Chicago Tribune article (Aug 1999) that discusses XML re: E-commerce.
While HTML simply describes the format of a document, XML allows documents to be treated as data.

While HTML's tags are defined by standards bodies and deal primarily with formatting, users of XML can create tags to identify whatever they wish.
This section of the Microsoft XML site describes how industry leaders are using XML-based applications today to increase sales and productivity, improve customer satisfaction, and lower costs. 
Case Study

Building an Integrated Maintenance and Ordering System Using XML

-Case Study Summary:
An airline currently suffers from excessive equipment down time and high maintenance costs caused by manual and non-integrated information processes. Service engineers have to separately search and manually integrate data from flat files, relational databases, and remote supplier parts catalogs. This is cumbersome and time-consuming because first they have to identify the problem using data from various sources
example of what the XML code would look like in the Case Study above
XML Example: Parts Information 

       <SUPPLIER-NOTE>The installation of the seat support should be performed
       only after the entire seat unit is removed from the floor base.
       <AIRLINE-CAUTION> Airline X has personal TV's in every seat back, so
       be sure to disconnect the TV wiring prior to removing
      the broken support.

"Improving the Online Shopping Experience with XML"
"Today, a Web shopper who desires to purchase a particular product is faced with many challenges. He must know the names of appropriate online  merchant Web sites, enter each individually, know how to conduct his search, compile the results, and then somehow compare all of the results to  determine where to make the purchase. Every Web site has a separate structure and vocabulary, making it difficult to quickly evaluate the search  results. Due to the limitations of HTML, the shopper's search may produce too much or too little information or even completely different results  from different merchant sites. All of these factors can make today's Web shopping experience frustrating and inefficient. Thus, a shopping guide that allows online shoppers to search and compare across multiple merchants is required. "
This diagram, from
helps to explain the role that XML will have in E-commerce



XML and E-commerce Security

story appeared in Yahoonews, in November 2000, which originated from CNET
Microsoft, VeriSign and WebMethods said [November 29th, 2000] they have developed technology designed to make it easier to use digital signatures and other online security tools with e-commerce applications.

The story, written by Melanie Austria Farmer, decribes how "... the  technology is intended to help programmers easily add digital signatures and data  encryption to their e-commerce applications."

Microsoft, VeriSign and WebMethods have developed something they call XKMS
XKMS = Extensible Markup Language key management specification

Farmer notes that ".. by having a standard such as XKMS in place, companies will have the potential to speed the process of finalizing an online contract or completing a transaction by being able to accept a legitimate signature electronically, as opposed to sending a fax with a handwritten one."

On the website there is a press release that further describes the situation.,1075,927,00.html

XKMS (XML Key Management Specification as described on the Verisign website

The specification for XKMS and a white paper are available also at