home account info subscribe login search FAQ/help site map contact us


 
Brief Full
 Advanced
      Search
 Search Tips
To access the contents, click the chapter and section titles.

Sams Teach Yourself XML in 21 Days
(Publisher: Macmillan Computer Publishing)
Author(s): Simon North
ISBN: 1575213966
Publication Date: 04/13/99

Search this book:
 
Introduction
About the Author

Part I
Chapter 1—What Is XML and Why Should I Care?
The Web Grows Up
Where HTML Runs Out of Steam
So What’s Wrong with...?
SGML
Why Not SGML?
Why XML?
What XML Adds to SGML and HTML
Is XML Just for Programmers?
Summary
Q&A
Exercise
Chapter 2—Anatomy of an xml document
Markup
A Sample XML Document
The XML Declaration (Line 1)
The Root Element (Lines 2 through 23)
An Empty Element (Line 13)
Attributes (Lines 7 and 22)
Logical Structure
Physical Structure
Summary
Q&A
Exercises
Chapter 3—Using XML Markup
Markup Delimiters
Element Markup
Attribute Markup
Naming Rules
Comments
Character References
Predefined Entities
Entity References
Entity Declarations
The Benefits of Entities
Some of the Dangers of Using Entities
Avoiding the Pitfalls
Synchronous Structures
Where to Declare Entities
CDATA Sections
Processing Instructions
Summary
Q&A
Exercises
Chapter 4—Working with Elements and Attributes
Markup Declarations
Element Declarations
Empty Elements
Unrestricted Elements
Element Content Models
Element Sequences
Element Choices
Combined Sequences and Choices
Ambiguous Content Models
Element Occurrence Indicators
Character Content
Mixed Content Elements
Attribute Declarations
Attribute Types
String Attribute Types
Tokenized Attribute Types
Enumerated Attribute Types
Attribute Default Values
Well-Formed XML Documents
Summary
Q&A
Exercises
Chapter 5—Checking Well-formedness
Where to Find Information on Available Parsers
Checking Your XML Files with expat
Installing expat
Using expat
Checking a File Error by Error
Checking Your XML Files with DXP
Installing DXP
Using DXP
Checking a File Error by Error
Checking Your Files Over the Web Using RUWF
Using RUWF
Checking Your Files Over the Web Using Other Online Validation Services
Using XML Well-formedness Checker
Using XML Syntax Checker from Frontier
Summary
Q&A
Exercises
Chapter 6—Creating Valid Documents
XML and Structured Information
Why Have a DTD at All?
DTDs and Validation
Document Type Declarations
Internal DTD Subset
Standalone XML Documents
Getting Sophisticated, External DTDs
System Identifier
Public Identifier
Developing the DTD
Modifying an SGML DTD
Developing a DTD from XML Code
Creating the DTD by Hand
Identifying Elements
Avoiding Presentation Markup
Structure the Elements
Enforce the Rules
Assigning Attributes
Tool Assistance
A Home Page DTD
Summary
Q&A
Exercises
Chapter 7—Developing Advanced DTDs
Information Richness
Visual Modeling
XML DTDs from Other Sources
Modeling Relational Databases
Elements or Attributes?
Saving Yourself Typing with Parameter Entities
Modular DTDs
Conditional Markup
Optional Content Models and Ambiguities
Avoiding Conflicts with Namespaces
A Test Case
Summary
Q&A
Exercises

Part II
Chapter 8—XML Objects: Exploiting Entities
Entities
Internal Entities
Binary Entities
Notations
Identifying External Entities
System Identifiers
Public Identifiers
Parameter Entities
Entity Resolution
Getting the Most Out of Entities
Character Data and Character Sets
Character Sets
Entity Encoding
Entities and Entity Sets
Summary
Q&A
Exercises
Chapter 9—Checking validity
Checking Your DTD with DXP
Walkthrough of a DTD Check with DXP
Checking Your DTD with XML for Java
Installing XML for Java
Using XML for Java
Walkthrough of a DTD Check with XML for Java
Checking Your XML Files with DXP
Walkthrough of an XML File Check with DXP
Checking Your XML Files with XML for Java
Walkthrough of an XML File Check with XML for Java
Summary
Q&A
Exercises
Chapter 10—Creating XML Links
Hyperlinks
Locators
Link Elements
Simple Links
Extended Links
Extended Link Groups
Inline and Out-of-Line Links
Link Behavior
Link Effects
Link Timing
The behavior Attribute
Link Descriptions
Mozilla and the role Attribute
Attribute Remapping
Summary
Q&A
Exercises
Chapter 11—Using XML’s Advanced Addressing
Extended Pointers
Documents as Trees
Location Terms
Absolute Terms
Relative Terms
Selection
Selecting by Instance Number
Selecting by Node Type
Selection by Attribute
Selecting Text
Selecting Groups and Ranges (spans)
Summary
Q&A
Exercises
CHAPTER 12—Viewing XML in Internet Explorer
Microsoft’s Vision for XML
Viewing XML in Internet Explorer 4
Overview of XML Support in Internet Explorer 4
Viewing XML Using the XML Data Source Object
Viewing XML Using the XML Object API
Viewing XML via MS XSL Processor
Viewing XML in Internet Explorer 5
Overview of XML Support in Internet Explorer 5
Viewing XML Using the XML Data Source Object
Viewing XML Using the XML Object API
Viewing Embedded XML
Viewing XML Directly
Viewing XML with CSS
Viewing XML with XSL
Summary
Q&A
Exercises
Chapter 13—Viewing XML in Other Browsers
Viewing/Browsing XML in Netscape Navigator/Mozilla/Gecko
Netscape’s Vision for XML
Viewing XML in Netscape Navigator 4
Viewing XML in Mozilla 5/Gecko
Viewing XML with DocZilla
Viewing XML with Browsers Based on Inso’s Viewport Engine
Features of the Viewport Engine
How it Works
Summary
Q&A
Exercises
Chapter 14—Processing XML
Reasons for Processing XML
Delivery to Multiple Media
Delivery to Multiple Target Groups
Adding, Removing, and Restructuring Information
Database Loading
Reporting
Three Processing Paradigms
An XML Document as a Text File
An XML Document as a Series of Events
XML as a Hierarchy/Tree
Summary
Q&A
Exercise

Part III
Chapter 15—Event-Driven Programming
Omnimark LE
What Is Omnimark LE?
Finding and Installing Omnimark LE
How Omnimark Works
Running Omnimark LE
Basic Events in the Omnimark Language
Looking Ahead
Input and Output
Other Features
An Example of an Omnimark Script
More Information
SAX
The Big Picture
Some Background on OO and Java Concepts
The Interfaces and Classes in the SAX Distribution
An Example
Getting Our Conversion Up and Running
Other Implementations
Building Further on SAX
Summary
Q&A
Exercises
Chapter 16—Programming with the Document Object Model
Background
The Specification
Structure
The Interfaces
Interface Relationships
The Node Object
The NodeList Object/Interface
The NamedNodeMap Object
The Document Object
The Data Object
The Other Objects
An Example of Using the DOM
Implementations of the DOM
The Future of the DOM
Summary
Q&A
Exercises
Chapter 17—Using Meta-Data to Describe XML Data
What’s Wrong with DTDs?
XML-Data
Resource Description Framework
Document Content Description
XSchema
Architectural Forms
Summary
Q&A
Exercises
SUMMARY
Chapter 18—Styling XML with CSS
The Rise and Fall of the Style Language
Cascading Style Sheets
XML, CSS, and Web Browsers
XML, CSS, and Internet Explorer
XML, CSS, and Mozilla
Getting Mozilla
Displaying XML Code in Mozilla
Cheating
Embedding CSS in XSL
CSS Style Sheet Properties
Units
Specifying CSS Properties
Classes
ID Attributes
CSS1 Property Summary
Summary
Q&A
Exercises
Chapter 19—Converting XML with DSSSL
Where DSSSL Fits In
A DSSSL Development Environment
Installing jade
Running jade
jade Error Messages
Viewing jade Output
First Steps in Using jade
XML to RTF and MIF Conversion
XML to HTML Conversion
Basic DSSSL
Flow Objects
Flow Object Characteristics
Flow Object Tree
Element Selection
Construction Rules
Cookbook Examples
Prefixing an Element
Fancy Prefixing
Tables
Table of Contents
Cross References
Summary
Q&A
Exercises
Chapter 20—Rendering XML with XSL
XSL1
XSL2
Template Rules
Matching an Element by its ID
Matching an Element by its Name
Matching an Element by its Ancestry
Matching Several Element Names
Matching an Element by its Attributes
Matching an Element by its Children
Matching an Element by its Position
Wildcard Matches
Resolving Selection Conflicts
The Default Template Rule
Formatting Objects
Layout Formatting Objects
Content Formatting Objects
Processing
Direct Processing
Restricted Processing
Conditional Processing
Computing Generated Text
Adding a Text Formatting Object
Numbering
Sorting
Whitespace
Macros
Formatting Object Properties
Avoiding Flow Objects
Summary
Q&A
Exercises
Chapter 21—Real World XML Applications
The State of the Game
Mathematics Markup Language
Structured Graphics
WebCGM
Precision Graphics Markup Language
Vector Markup Language
Behaviors
Action Sheets
CSS Behavior
Microsoft’s Chrome
Summary
Q&A
Exercises

Part IV—Appendixes
Appendix A
Appendix B
Index

Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-1999 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.