| |
| |
| |
An Overview of XML | |
| |
| |
Learning Objectives | |
| |
| |
Learning the History: The Many Incarnations of SGML into XML | |
| |
| |
Creating One Document for Multiple Platforms and Devices | |
| |
| |
Using XML for Data Exchange | |
| |
| |
Content Sharing with XML | |
| |
| |
| |
Comparing HTML, XHTML, and XML | |
| |
| |
Learning Objectives | |
| |
| |
From HyperText to XHTML | |
| |
| |
The Limitations of HTML | |
| |
| |
The Emergence of XML | |
| |
| |
Taking the Mid-Road with XHTML | |
| |
| |
Creating an XHTML Document | |
| |
| |
XML Declarations | |
| |
| |
DOCTYPE Declaration and Document Type Definition (DTD) | |
| |
| |
XML Namespaces | |
| |
| |
Reformulating an HTML Document into XML | |
| |
| |
Choosing to Use XHTML or XML | |
| |
| |
Going Further with Namespaces | |
| |
| |
Data and Metadata | |
| |
| |
| |
Understanding How XML Works: The Fundamentals | |
| |
| |
Learning Objectives | |
| |
| |
Well-Formed and Valid XML | |
| |
| |
Well Formed | |
| |
| |
Valid | |
| |
| |
Tagging an XML Document | |
| |
| |
Very First Example | |
| |
| |
Character References | |
| |
| |
Thinking Through XML | |
| |
| |
Understanding the Tree Structure of a Document | |
| |
| |
Creating a Root Element | |
| |
| |
Comments | |
| |
| |
Elements | |
| |
| |
Empty Element Tags | |
| |
| |
#PCDATA | |
| |
| |
CDATA | |
| |
| |
Attributes (#!ATTLIST) | |
| |
| |
Entities | |
| |
| |
How to Decide: Attribute versus !ELEMENT | |
| |
| |
| |
Creating Document Type Definitions (DTDs) | |
| |
| |
Learning Objectives | |
| |
| |
Introducing DTDs | |
| |
| |
Imposing Grammar and Structure | |
| |
| |
Checking for Validation | |
| |
| |
Using DTD Syntax | |
| |
| |
Writing Element Declarations | |
| |
| |
Model Groups | |
| |
| |
Free Text | |
| |
| |
Writing Attribute List Declarations | |
| |
| |
Attribute Name | |
| |
| |
Attribute Type | |
| |
| |
Required or Default Values | |
| |
| |
Writing Parameter Entity Declarations | |
| |
| |
Writing Notation Declarations | |
| |
| |
Referencing DTDs | |
| |
| |
Creating External DTD Subsets | |
| |
| |
Using Internal DTD Subsets | |
| |
| |
Using Conditional Sections with Entities | |
| |
| |
| |
Schemas | |
| |
| |
Learning Objectives | |
| |
| |
DTDs versus Schemas | |
| |
| |
Some Problems with DTDs | |
| |
| |
Thinking of Speed | |
| |
| |
Developing Schemas | |
| |
| |
Namespaces | |
| |
| |
Elements and Attributes | |
| |
| |
Simple and Complex | |
| |
| |
A Little Schema | |
| |
| |
Thinking About Validation | |
| |
| |
Complex Types | |
| |
| |
Deep Schema | |
| |
| |
Grouping | |
| |
| |
Making a Choice | |
| |
| |
Importing Elements | |
| |
| |
| |
Using XML Parsers and Unicode | |
| |
| |
Learning Objectives | |
| |
| |
Parsers | |
| |
| |
Difference between an XML Parser and an HTMl Parser | |
| |
| |
The Basic Microsoft Parser | |
| |
| |
Creating your Own Valid Document | |
| |
| |
A Word about Errors | |
| |
| |
Using XML Spy | |
| |
| |
Other XML Editors | |
| |
| |
What Is Unicode: The Development of a Global Standard | |
| |
| |
xml: lang Attribute | |
| |
| |
UTF-8 and Beyond | |
| |
| |
Character Sets and Typeface | |
| |
| |
| |
Applying Cascading Style Sheets | |
| |
| |
Learning Objectives | |
| |
| |
Developing XML Styles | |
| |
| |
How CSS Has Evolved | |
| |
| |
CSS1 | |
| |
| |
CSS2 | |
| |
| |
CSS3 | |
| |
| |
Introducing CSS Syntax | |
| |
| |
Properties and Values | |
| |
| |
Getting Literal: Display, List, and Whitespace Properties | |
| |
| |
More Basic CSS Formatting | |
| |
| |
Backgrounds | |
| |
| |
Text | |
| |
| |
Fonts | |
| |
| |
Borders | |
| |
| |
Margins | |
| |
| |
Padding | |
| |
| |
Advanced CSS Formatting | |
| |
| |
Dimension | |
| |
| |
Classification | |
| |
| |
Positioning | |
| |
| |
Comparing CSS to XSL | |
| |
| |
Ensuring your CSS Is Valid | |
| |
| |
| |
Applying eXtensible Style Sheets (XSL) | |
| |
| |
Learning Objectives | |
| |
| |
Understanding XSL | |
| |
| |
Using XSLT to Transform XML Documents with XSL | |
| |
| |
Learning the Details of XSL Stylesheets | |
| |
| |
Using XSLT to Transform an XML Document | |
| |
| |
How XSL Uses Templates | |
| |
| |
Filtering | |
| |
| |
Sorting | |
| |
| |
Creating Conditional Statements | |
| |
| |
Styling the Appearance of XML Elements with XSL | |
| |
| |
Debugging XSLT | |
| |
| |
XSL Element References | |
| |
| |
| |
Linking XML Documents | |
| |
| |
Learning Objectives | |
| |
| |
Introducing XML Linking Language (XLink) | |
| |
| |
Writing an XLink Statement | |
| |
| |
Simple Links | |
| |
| |
Extended Links | |
| |
| |
Creating XLinks in DTDs | |
| |
| |
Introducing XPointer | |
| |
| |
| |
Scripting with the DOM | |
| |
| |
Learning Objectives | |
| |
| |
An Overview of the DOM | |
| |
| |
DOM-Based Parsers | |
| |
| |
DOM-Based Parsing versus SAX-Based Parsing | |
| |
| |
The DOM's Design Levels | |
| |
| |
The Node Interface | |
| |
| |
Parsing the DOM | |
| |
| |
Browser Support for the DOM | |
| |
| |
| |
Scalable Vector Graphics (SVG) | |
| |
| |
Learning Objectives | |
| |
| |
Advantages of SVG | |
| |
| |
SVG versus Flash | |
| |
| |
SVG Versions | |
| |
| |
SVG Viewer | |
| |
| |
Introducing SVG Syntax | |
| |
| |
The SVG Viewport | |
| |
| |
Basic Shapes | |
| |
| |
More Element Shapes: Circle Element | |
| |
| |
SVG and CSS Stylesheets | |
| |
| |
Ensuring your SVG Is Valid | |
| |
| |
| |
SMIL | |
| |
| |
Learning Objectives | |
| |
| |
A Brief History of SMIL | |
| |
| |
SMIL 1.0 | |
| |
| |
SMIL 2.0 | |
| |
| |
How to SMIL | |
| |
| |
Other Ways to SMIL | |
| |
| |
Another Way to View SMIL | |
| |
| |
Basic SMIL | |
| |
| |
Core Elements | |
| |
| |
Media Elements | |
| |
| |
The [left angle bracket]layout[right angle bracket] Module | |
| |
| |
The [left angle bracket]body[right angle bracket] Element | |
| |
| |
Linking Module | |
| |
| |
| |
Integrating Databases with XML | |
| |
| |
Learning Objectives | |
| |
| |
An Introduction to Using Databases with XML | |
| |
| |
Data-Centric XML | |
| |
| |
Document-Centric XML | |
| |
| |
Going from Data and Documents to Databases | |
| |
| |
Transferring Information between Traditional Databases and XML | |
| |
| |
Relational Databases | |
| |
| |
A Brief Introduction to SQL | |
| |
| |
What's Next: Mapping and Querying | |
| |
| |
Mapping Document Schemas to Database Schemas | |
| |
| |
Querying XML Documents to Transfer Data to Databases | |
| |
| |
Directly Transferring Data to Databases | |
| |
| |
Transferring Information between Native XML Databases and XML Documents | |
| |
| |
Database Vendors | |
| |
| |
Using XML with Oracle | |
| |
| |
Using XML with Microsoft's SQL Server 2000 | |
| |
| |
Using XML with IBM's DB2 | |