Building Web Sites with XML
* Enhance your Web and Intranet sites with XML right now * Step-by-step examples, hands-on techniques, tested code! * Client-side and server-side: XSLT, DOM, Java-based servlets, Active Server Pages, schemas, and more * CD-ROM: Includes a complete XML-based Web site to kickstart your sites development Building Web Sites with XML XMLs powerful support for data aggregation and smart data-driven styling will make it the Web developers most useful tool. Michael Floyds book teaches you to wield it like a master. Charles F. Goldfarb Build cutting-edge dynamic and interactive Web sites with XML-step by step! Building Web Sites with XML walks you step by step through enhancing your Web or Intranet site using XML! Leading Web developer Michael Floyd helps you apply the XML technologies you need to know, including the XML Document Object Model, XML schemas, and XSL Transformations (XSLT). If you know basic XML and youre ready to leverage its full power on your Web, Intranet, and e-commerce sites, youre ready for the book that will show you how: Building Web Sites with XML. Youll find practical techniques and real-world sample code for: * Building dynamic sites customized to your users brow
- Paperback | 454 pages
- 177.8 x 228.6 x 33.02mm | 929.86g
- 20 Dec 1999
- Pearson Education (US)
- Prentice Hall
- Upper Saddle River, United States
Table of contents
Foreword Preface I. XML, XSL, AND WEB VOCABULARIES. 1. 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.2. XML, Web Style. HTML and Structured Documents. Structuring Your Documents. Navigating Your Web Site. An XML Database Example: Creating a Product Directory. Conclusion.3. 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.4. 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.II. CLIENT-SIDE XML. 5. 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.6. 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.7. 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.8. Presenting XML in the Client. Presentation Strategies. Selecting From Multiple Style Sheets. Presenting Data. Filtering Your Result Set. Searching. Conclusion.III. SERVER SIDE XML. 9. 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.10. 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.11. 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.IV. XML AND WEB DEVELOPMENT. 12. Supporting Forms in XML. Extensible Forms Description Language.Setting Options.The Element.XML Forms Architecture.Conclusion.13. Schemas in XML. What Exactly Are Schemas?Defining Schemas.Refining the Content Model.Defining Attributes.Putting It All Together.Conclusion.References.14. An XML-Based Web Site. Site Design.Serving It Up.Toc.xml.Homepage.xsl.Linked Pages.Conclusion.Appendix A: Just Enough XML. The Goal. Elements: The Logical Structure. Unicode: The Character Set. Entities: The Physical Structure. Markup. Document Types. Document Type Definitions.A. HTML: A Cautionary Tale.A. Declaring a DTD.Well-Formedness and Validity. Hyperlinking and Addressing. Stylesheets. Programming Interfaces and Models. Parsing. APIs. Conclusion.Appendix B: Document Type Definitions. Declaring Use of a DTD. DTD Syntax. B Element Type Declarations. B Content Specifications. B Occurrence Indicators. Attribute List Declarations. B Anatomy of an Attribute List Declaration. B Attribute Defaults. B Enumerated Lists. B Notation Attributes. B Entity Attributes. Notations. B Example. Anatomy of an Entity.Appendix C: Cascading Style Sheet Properties. Index.
About Michael Floyd
Michael Floyd is a veteran technology journalist and author of the Beyond HTML column in Web Techniques Magazine. He worked for Dr. Dobbs Magazine for seven years, and has been a speaker and co-chair of the Software Development Conference.