Introduction to XML

 

Duration:

3 Days $ 495

 

 

Abstract:

This is one of the most actively growing sections of our curriculum.  You can expect to see several new courses in this section over the next few weeks.

 

Popular myth holds that XML is a replacement, an improved version of HTML. The myth is wrong. XML is much more powerful than the myth would have us believe.  HTML is a display technology.  XML is a data sharing technology. Both technologies use tags inside of angle brackets.  Both technologies trace their roots to SGML.  But that is where the similarities end.

 

XML is a powerful generic language for data interchange. It is the language that enables disparate computer systems to exchange data. It doesn’t matter if the two computers use different operating systems or if the applications running on the different computers are unrelated. XML is very useful for Business-to-Business data sharing.

 

Our course offerings start with a five day Introduction to XML If you cannot get that much time off from work, try our three evening or one day Saturday special

 

We offer traditional classroom training as well as reduced rate Bring Your Own Computer Sales for students who have their own properly configured computers.

 

 

 

 

Objectives:

Create well formed XML documents from varions sources

Gain hands on experience using CSS to display a simple XML document

 

 

 

 

Prerequisites:

Prospective students should meet at least one of the following

 

Knowledge of at least one computer language and experience creating computer programs, or

Knowledge of SQL and experience creating relational databases, or

Knowledge of HTML and experience creating web pagesl

 

 

Lecture Topics:

Lecture 1

Introductory XML Topics

XML defined

Markup defined

XML vs HTML syntax

Definition of “well formed”

XML syntax

Comments

Elements

Attributes

Entities

CDATA

Processing instructions

Document Type Definitions (DTD)

Purpose

Definition of validity

Specifying the DTD

Internal vs External

Defining element content

Defining element attributes

Defining entities

 

Lecture 2

Parts of DTD Element Declarations Explained

            Content category

                         Empty

                        Element

                        Text

                        Mixed

                        Any

            Types of element content

                         Single

                        Sequence

                        Choices

                        Combinations

                        Cardinality

                        Repetition

DTD Attribute Declarations Explained

                         Types of attributes

                         ID

                        IDREF

                        CDATA

                        ENUMERATED

                        NMTOKEN

                        NMTOKENS

                        ENTITY

                        ENTITIES

                        NOTATION

Default values for attributes

                        REQUIRED

                        IMPLIED

                        FIXED

                        Some default value

 

Lecture 3

Namespaces

Syntax

Prefixes

URIs

Default namespaces

Namespaces vs DTDs

Multiple namespaces

Schemas

Simple example

Standard XML tools that understand schemas

Specialized schema validators

Built-in schema data types

 

Mapping DTD syntax constructs to schema constructs

Sequence

Choice

Multiplicity

Attributes

Elements

Associating schemas with XML files

Using more than one schema with an XML file

 

 

Lecture 4

 

Cascading Style Sheets (CSS)

                         Controlling the presentation of data

                         Font control

                        Text blocks

                        Indentation

                        Alignment

                        Lists

                        Margins

                        Colors

                        Background images

                        Cascading rules

                        Limits of CSS

 

                        Getting even more specific by using

                         Class

                        ID

                        Context

 

Extensible Style Language (XSLT)

                         XSLT defined

                        Tools that execute XSLT transformations

 

                        XSLT syntax

                         Root element

                        Template element

                        Transformation rules

 

 

Exercises:

Create an XML vocabulary
Write a well formed XML document
Use an XML authoring tool
Write an XML document with an internal DTD
Write an XML document with an external DTD
Specify attributes in a DTD
Validate an XML document against a DTD
Add namespaces to an XML document
Create an XML schema
Validate an XML document against a schema
Validate an XML document against multiple schemas
Validate an XML document against multiple schemas and multiple namespaces
Format an XML document and display it in a browser using CSS (several exercises)
Transform XML into HTML using XSLT (several exercises)

 

 

 

 

 

Required Equipment:

Client must supply one computer for each student that has at least the following configuration:

 

Pentium CPU or better
64 megabytes RAM
500 megabytes hard disk
Drive A: must be a 3.5 inch high density (1.44 megabyte) floppy
SVGA (or better) monitor and card
Mouse
ANSI C++ Compiler (complying with at least the December, 1995 draft)
Text Editor
If the client can supply a printer that the class can share, the students will be able to:

 

• Print their source code
• Better evaluate their work
• Client must also supply two overhead projectors and two screens

 

 

 

 

 

 

Educational Division
10116 NW 53rd St., Sunrise, FL 33351-8020
Phone: (954) 784-0900, Fax: (954) 784-0904

1-800-319-3599

E-Mail: info@amscourseware.com

Return to AMS Courseware homepage