XML Fundamentals
XML Fundamentals
Please turn off all
What is XML?
Extensible Markup Language
XML is a Meta Markup Language
XML Applications
Some XML Applications
XML describes structure and semantics, not formatting
A Song Description in HTML
A Song Description in XML
Editing and Saving XML Files
Style Sheets provide formatting
Attaching style sheets to documents
Style Sheet Languages
An XSLT stylesheet
Transforming the Document
CSS or XSL?
Well-formedness
Validity
A DTD for Songs
A Valid Song Document
Checking Validity
A More Complex Example
The XML Declaration
Attributes
Empty Element Tags
Comments
Namespaces
Entity References
A More Complex DTD
What is XML used for?
Domain-Specific Markup Languages
Self-Describing Data
An XML Fragment
Interchange of Data Among Applications
Example XML Applications
Mathematical Markup Language
Channel Definition Format
Classic Literature
Vector Graphics
The Resource Description Framework (RDF)
An Example of RDF
File Formats, in-house applications, and other behind the scenes uses
XML for XML
XSL: The Extensible Stylesheet Language
An XML document
An XSLT style sheet that converts to XSL-FO
The XSL-FO Output
W3C XML Schemas
XML Hypertext
XML Hypertext Example
XLinks: The Extensible Linking Language
Extended Links
Extended Link Example
Diagram of an Extended Link
XInclude
Non-XML for XML
XPath
XPointers
XPointers and URIs
Programming with XML
Several APIs to choose from
SAX
SAX2
The SAX Process
Parsing a Document with XMLReader
The ContentHandler interface
SAX Example
Event Based API Caveats
Document Object Model
The Design of the DOM API
DOM Evolution
Eight Modules:
DOM Trees
org.w3c.dom
The DOM Process
Parsing documents with a DOM Parser Example
DOM Example
JDOM
The JDOM Process
Parsing a Document with JDOM
Parser Results
JDOM Example
XML and Databases
Integrating XML with Databases
Middleware
Database Exchange and Integration
To Learn More
Questions?
Entire Presentation as Single File
Start
|
Cafe con Leche
Copyright 2000, 2001 Elliotte Rusty Harold
Last Modified August 29, 2001