| |
| |
Foreword | |
| |
| |
Preface | |
| |
| |
| |
XML, XSL, and Web Vocabularies | |
| |
| |
| |
Enabling Web Sites with XML | |
| |
| |
| |
HTML and the Balkanization of the Web | |
| |
| |
| |
Web Developer: Jack of All Trades | |
| |
| |
| |
The Return to Spaghetti Code | |
| |
| |
| |
The Evolution of XML | |
| |
| |
| |
What Is XML and What Can I Do with It? | |
| |
| |
| |
Schemas, Vocabularies, and DTDs | |
| |
| |
| |
What About XSL? | |
| |
| |
| |
XML and HTML: Peaceful Coexistence | |
| |
| |
| |
Conclusion | |
| |
| |
| |
References | |
| |
| |
| |
XML, Web Style | |
| |
| |
| |
HTML and Structured Documents | |
| |
| |
| |
Structuring Your Documents | |
| |
| |
| |
Navigating Your Web Site | |
| |
| |
| |
An XML Database Example: Creating a Product Directory | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Transforming XML | |
| |
| |
| |
The XPath Data Model | |
| |
| |
| |
Template Rules | |
| |
| |
| |
Creating a Style Sheet | |
| |
| |
| |
Patterns | |
| |
| |
| |
Other Node Types | |
| |
| |
| |
Comparing, Testing, and Other Refinements | |
| |
| |
| |
Templates | |
| |
| |
| |
Creating Other Result Nodes | |
| |
| |
| |
Expressions | |
| |
| |
| |
Location Paths | |
| |
| |
| |
Node-Set Expressions | |
| |
| |
| |
String Expressions | |
| |
| |
| |
Numbers | |
| |
| |
| |
Booleans | |
| |
| |
| |
Extension Functions | |
| |
| |
| |
Additional Features | |
| |
| |
| |
Conditional Processing | |
| |
| |
| |
Sorting | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Web Vocabularies | |
| |
| |
| |
Scalable Vector Graphics | |
| |
| |
| |
Synchronized Multimedia Integration Language | |
| |
| |
| |
XHTML | |
| |
| |
| |
WDDX | |
| |
| |
| |
Channel Definition Format | |
| |
| |
| |
Java Speech Markup Language | |
| |
| |
| |
MusicML | |
| |
| |
| |
Other Vocabularies | |
| |
| |
| |
Resource Description Framework | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Resources | |
| |
| |
| |
References | |
| |
| |
| |
Client-Side XML | |
| |
| |
| |
Document Object Model | |
| |
| |
| |
Introduction to the DOM | |
| |
| |
| |
The Document Interface | |
| |
| |
| |
Node Interface | |
| |
| |
| |
Direct Interfaces | |
| |
| |
| |
Element Interface | |
| |
| |
| |
The Attr Interface | |
| |
| |
| |
The CharacterData Interface | |
| |
| |
| |
Text Interface | |
| |
| |
| |
Extended Interfaces | |
| |
| |
| |
Conclusion | |
| |
| |
| |
XML and Internet Explorer | |
| |
| |
| |
XML in Internet Explorer | |
| |
| |
| |
Inline XML | |
| |
| |
| |
XML Data Source Objects | |
| |
| |
| |
Channel Definition Format | |
| |
| |
| |
Open Software Description | |
| |
| |
| |
DOM Extensions | |
| |
| |
| |
Schemas | |
| |
| |
| |
Data Types in Schemas | |
| |
| |
| |
Closing Thoughts | |
| |
| |
| |
References | |
| |
| |
| |
Projects for Internet Explorer | |
| |
| |
| |
Accessing the Document Object | |
| |
| |
| |
A Utility for Documenting Structure | |
| |
| |
| |
Web Site Navigation | |
| |
| |
| |
A Quick and Dirty XML Validator | |
| |
| |
| |
Supporting Internet Explorer 4 | |
| |
| |
| |
Loading a Document | |
| |
| |
| |
Documenting Structure in IE4 | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Presenting XML in the Client | |
| |
| |
| |
Presentation Strategies | |
| |
| |
| |
Selecting From Multiple Style Sheets | |
| |
| |
| |
Presenting Data | |
| |
| |
| |
Filtering Your Result Set | |
| |
| |
| |
Searching | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Server Side XML | |
| |
| |
| |
XML on the Server | |
| |
| |
| |
Solving the Basic Problem | |
| |
| |
| |
Extending Web Servers | |
| |
| |
| |
The XML::Parser Module | |
| |
| |
| |
Server APIs | |
| |
| |
| |
Java Servlets | |
| |
| |
| |
Active Server Pages | |
| |
| |
| |
Commercial XML Servers | |
| |
| |
| |
Bluestone XML-Server | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Resources | |
| |
| |
| |
References | |
| |
| |
| |
Serving XML Using Java Servlets | |
| |
| |
| |
About Java Servlets | |
| |
| |
| |
Cocoon: An XML-enabled Servlet for Apache | |
| |
| |
| |
Installing Cocoon | |
| |
| |
| |
Working with Cocoon | |
| |
| |
| |
Generating XML Dynamically | |
| |
| |
| |
Building Your Own XML Server | |
| |
| |
| |
Java Development Kit | |
| |
| |
| |
Adding a Servlet Engine | |
| |
| |
| |
The XML Processor | |
| |
| |
| |
Adding an XSL Processor | |
| |
| |
| |
XML Enabler | |
| |
| |
| |
Java ProjectX | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Resources | |
| |
| |
| |
References | |
| |
| |
| |
XML and Active Server Pages | |
| |
| |
| |
Introducing Active Server Pages | |
| |
| |
| |
Creating Active Server Pages | |
| |
| |
| |
Adding Script to Server Pages | |
| |
| |
| |
XML and ASP | |
| |
| |
| |
Scripting XML with ASP | |
| |
| |
| |
Processing XML on IIS | |
| |
| |
| |
Threading Models | |
| |
| |
| |
Sending XML from the Client | |
| |
| |
| |
XML and Database Development | |
| |
| |
| |
The Flat-File Database | |
| |
| |
| |
Connecting to ODBC Data Sources | |
| |
| |
| |
Making the Connection | |
| |
| |
| |
Building a Document From a Query | |
| |
| |
| |
Conclusion | |
| |
| |
| |
XML and Web Development | |
| |
| |
| |
Supporting Forms in XML | |
| |
| |
| |
Extensible Forms Description Language | |
| |
| |
| |
Setting Options | |
| |
| |
| |
The [compute] Element | |
| |
| |
| |
XML Forms Architecture | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Schemas in XML | |
| |
| |
| |
What Exactly Are Schemas? | |
| |
| |
| |
Defining Schemas | |
| |
| |
| |
Refining the Content Model | |
| |
| |
| |
Defining Attributes | |
| |
| |
| |
Putting It All Together | |
| |
| |
| |
Conclusion | |
| |
| |
| |
References | |
| |
| |
| |
An XML-Based Web Site | |
| |
| |
| |
Site Design | |
| |
| |
| |
Serving It Up | |
| |
| |
| |
Toc.xml | |
| |
| |
| |
Homepage.xsl | |
| |
| |
| |
Linked Pages | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Just Enough XML | |
| |
| |
| |
The Goal | |
| |
| |
| |
Elements: The Logical Structure | |
| |
| |
| |
Unicode: The Character Set | |
| |
| |
| |
Entities: The Physical Structure | |
| |
| |
| |
Markup | |
| |
| |
| |
Document Types | |
| |
| |
| |
Document Type Definitions | |
| |
| |
| |
HTML: A Cautionary Tale | |
| |
| |
| |
Declaring a DTD | |
| |
| |
| |
Well-Formedness and Validity | |
| |
| |
| |
Hyperlinking and Addressing | |
| |
| |
| |
Stylesheets | |
| |
| |
| |
Programming Interfaces and Models | |
| |
| |
| |
Parsing | |
| |
| |
| |
APIs | |
| |
| |
| |
Conclusion | |
| |
| |
| |
Document Type Definitions | |
| |
| |
| |
Declaring Use of a DTD | |
| |
| |
| |
DTD Syntax | |
| |
| |
| |
Element Type Declarations | |
| |
| |
| |
Content Specifications | |
| |
| |
| |
Occurrence Indicators | |
| |
| |
| |
Attribute List Declarations | |
| |
| |
| |
Anatomy of an Attribute List Declaration | |
| |
| |
| |
Attribute Defaults | |
| |
| |
| |
Enumerated Lists | |
| |
| |
| |
Notation Attributes | |
| |
| |
| |
Entity Attributes | |
| |
| |
| |
Notations | |
| |
| |
| |
Example | |
| |
| |
| |
Anatomy of an Entity | |
| |
| |
| |
Cascading Style Sheet Properties | |
| |
| |
Index | |