| Chapter |
|
Details |
|
Introduction
The environment that supports a language as powerful
as XML and its derivatives |
|
The
internet
The
world wide web
HyperText
Markup Language 4 (HTML 4)
- Markup languages
- Editing HTML
- Common Elements
- Headers, linking, images, special characters,
lists
- Tables, forms, internal linking, maps
- <meta> tags, frameset
- Exercises + solutions
Where HTML ends and XML starts
|
|
Cascading
Style Sheets
Mastering the style of page elements separately from
the document structures |
|
Introduction
Styles
- Inline styles
- The style element
- Conflicting styles
- Linking external style sheets
- Positioning elements
- Backgrounds
- Element dimensions
- Text flow and the Box model
- User style sheets
- Exercises + solutions
|
|
Creating
Markup with XML
How to create new markup languages from XML |
|
Introduction
to XML markup
Parsers
and well-formed XML documents
Parsing
XML with msxml
Characters
Markup
CDATA
sections
XML
Namespaces
Exercises
+ solutions
|
|
Document
Type Definition (DTD)
Defining XML document's structure to ensure conformity
in business-to-business transactions |
|
Parsers,
well-formed and valid XML documents
Document
type declaration
Element
type declarations
Attribute
declarations
Attribute
types
Conditional
sections
Whitespace
characters
Exercises
+ solutions
|
|
Schemas
Beyond DTD: making the XML document's structure
definition an XML document itself |
|
Schemas
versus DTD
Microsoft
XML schema
- Elements
- Attributes
- Data Types
W3
XML schema
Exercises
+ solutions
|
|
Document
Object Model (DOM)
Giving the parsed XML document a hierarchical tree
structure (in memory) that can be manipulated and modified |
|
DOM
implementations
DOM with
JavaScript
Setup
DOM
components
Creating
nodes
Traversing
the DOM
Exercises
+ solutions
|
|
Simple
API for XML (SAX)
An alternative to DOM, using an event-based model to
parse the XML document. |
|
DOM
versus SAX
SAX-based
parsers
Setup
Events
Example
SAX 2.0
Exercises
+ solutions
|
|
Case
Study: XmlMessenger Program (optional)
Using XML with Java to traverse DOM within Java and
using XML to communicate between client and server. |
|
Introduction
to instant-messaging
Setup
(J2SDK, JAXP, XmlMessenger)
Server
side of XmlMessenger
Client
side of XmlMessenger
Implementation
Exercise:
extending functionality
Exercise
solution
|
|
The
XML Path Language (XPath)
An effective way of locating specific data (nodes)
within an XML document. |
|
Overview
Nodes
Location
Paths
- Axes
- Node tests
- Location Paths using axes and node tests
Node-set
operators and functions
Exercise
+ solution
|
|
XSL
Transformation Language
( XSLT)
The XSL Transformation Language to transform an XML
document into any other text document format, like HTML. |
|
Overview
Setup
Templates
Creating
elements and attributes
Iteration
and sorting
Conditional
processing
Copying
nodes
Combining
stylesheets
Variables
Case
study: XSLT and XPath
Exercise
+ solution
|
|
XSL
Formatting Objects (XSL FO)
Formatting XML documents for high-level presentation
-- beyond HTML. |
|
Quick Overview
- Setup
- Examples of XSL formatting-object documents
- Lists
Becoming
proficient in XSL formatting objects
- Introduction to Formatting Objects
- Formatting Object Content
- Formatting Objects Summary
- Declarations and Pagination and Layout Formatting Objects
- Block-level Formatting Objects
- Inline-level Formatting Objects
- Formatting Objects for Tables
- Formatting Objects for Lists
- Dynamic Effects: Link and Multi Formatting Objects
- Out-of-Line Formatting Objects
- Other Formatting Objects
XSL
FO Formatters-renderers brief overview
- Apache's FOP
- RenderX 's XEP
- Abortext's Epic 4.2
Exercises
+ solutions
|
|