Skip to main content

Special Edition Using XML, 2nd edition

  • Kenrick Rawlings
  • Alexander Kachur
  • Andrew H. Watt
  • David Gulbransen
  • Kynn Bartlett
  • Earl Bingham

Unfortunately, this item is not available in your country.


Special Edition Using XML, Second Edition gives developers a formal introduction to XML technology, starting with in-depth coverage of basic syntax and fundamental "pieces" of XML, including DTDs, Schemas, and Namespaces. The authors then cover various applications of XML, including transforming and displaying XML documents using CSS and XSL, locating data within XML documents using Xpath, Xlink and Xpointer, programming XML with SAX or DOM, including XML in Java or .NET applications, XML Scripting with Perl, XHTML and WML for presentation on traditional and hand-held Web browsers, and querying data or documents with Xquery. The final chapters cover technologies related to XML such as SVG, SMIL, and RDF, focusing on the practical features developers can put to use today.

Table of contents



1. Introduction to XML.

Making All Things Possible with XML. Understanding HTML Limitations. Redefining the Possibilities of Web Development. Understanding the Relationship Between SGML, XML, and XHTML. XML in Theory and Practice. Practical Examples of XML. Future Developments. A Concise Description of XML Origins.

2. Understanding XML Syntax.

Understanding XML Structure. Describing New Vocabularies with XML. Is XML Just HTML All Over Again? Starting with XML. Defining the XML Document as a Whole. Understanding the Well-Formedness Constraints. The Prolog: The XML Declaration. Constructing the XML Document Prolog: The Document Type Declaration. Constructing the Document Body. Understanding How XML Forms Logical Structures. Getting Down to Cases.

3. Understanding XML Document Type Definitions.

Dissecting an XML Document Type Definition. Using Document Type Definition Notation and Syntax. Understanding Literals. Declaring a NOTATION. Creating ATTLIST Declarations. Using Special XML Datatype Constructions Understanding the Difference Between Well-Formed and Valid XML. Learning How to Use External DTDs and DTD Fragments. Altering an XML DTD. Getting Down to Cases.

4. Extending a Document Type Definition with Local Modifications.

Extending a DTD. Creating a DTD Extension. Creating an Extensible DTD. Creating a Modular DTD. Supplying Local Values to an External DTD. Using XHTML DTDs to Render XML Documents in Legacy Browsers. Getting Down to Cases.

5. Building a Document Type Definition from Scratch.

Specifying a Custom DTD.Building a DTD. Understanding DTD Design Principles. Handling Problems with Exclusions. Handling Problems with Recursion. Troubleshooting a Broken DTD. Making Your DTD Bulletproof. Avoiding Tricky Coding Techniques. Ensuring DTD Compatibility. Getting Down to Cases.

6. XML Namespaces.

Using Multiple DTDs with Namespaces. Declaring a Namespace. Using Qualified Names. Identifying Namespaces in Elements and Attributes. Doing Without Namespaces. Declaring Namespaces in Non-European Languages. Using Namespaces in Other Contexts. Using Namespaces in Nonstandard Ways. Getting Down to Cases.

7. XML Schemas.

Understanding XML Schemas. Rationale for a New Schema Language. Dissecting XML Schemas. Pulling Schema Capabilities and Possibilities Together. Coding a Simple XML Schema Example. Understanding Previous XML Schema Proposals. Troubleshooting XML Schemas.

8. Xpath.

Identifying Document Locations with Xpath. Keeping Track of Your Position in a Document. Using XPath Abbreviations. XPath Core Functions. Using XPath Predicates. Problems with HTML Anchors and Links. Getting Down to Cases.

9. XLink and Xpointer.

Understanding the New XML Linking Toolkit. Using XLink, the Extensible Linking Language. Deciphering XLink Syntax. Understanding Xpointer. Troubleshooting XLink and XPointer.


10. DOM—The Document Object Model.

Understanding DOM. Identifying Changes Between DOM Levels 1 and 2. Seeing Forests in Trees. Using Node-Level DOM. Using Object-Oriented DOM. DOM Structure. Looking at DOM Quirks. Exception Handling. Getting Down to Cases.

11. SAX—The Simple API for XML.

Using SAX Instead of DOM. Understanding SAX Parsers. Looking at SAX in Detail. Understanding Object-Oriented Techniques. Troubleshooting SAX.


13. Cascading Style Sheets and XML/ XHTML.

Working with Cascading Style Sheets. Understanding How Style Sheets Work. Coping with Browser Implementations of CSS. Using XML Elements as Selectors. Understanding CSS Selectors. Setting CSS Property/Value Pairs. Troubleshooting

14. Using Next-Generation Extensible Style Sheets—XSL.

Looking Closely at XSL. Understanding XSL Templates Understanding XSL Formatting Objects. Using XSL and XSLT. Troubleshooting XSL.


15. Getting Information About the User.

User Profiles. Profile Tradeoffs. Using Cookies to Maintain a Profile. Using a Server-Side Database. User IDs and Passwords. P3P—Platform for Privacy Preferences. OPS/P3P—Open Profiling Standard. JavaScript and Scripting Languages. Getting Down to Cases.

16. Security and Privacy.

Vulnerable Data and Data Servers on the Web. Understanding How Routers Protect Your Data. Erecting Security Firewalls. Creating Unique Passwords. Encryption. Security and Privacy Initiatives. Troubleshooting Security Problems. @CHAPTER - 17. Using Server-Side Facilties—Java.

Why Java on the Server Is So Useful. Setting Up Your Web Server and Related Software. A Simple CGI Program That Emits XML. A Servlet Approach. Transforming XML into HMTL on the Server. An Applet Asking for XML. Using Sockets Instead of HTTP. CORBA. Troubleshooting Java and XML. @CHAPTER - 18. Using Server-Side Facilities—ActiveX.

ActiveX and COM. Microsoft Evolution Toward Open Standards. Microsoft Distributed Internet Architecture 2000 (DNA). A Simple ASP Page. Transforming to HTML on the Server. A COM Object That Emits XML. Troubleshooting ActiveX and XML.

19. Using Common Object Brokers.

Understanding Object Brokers. Requesting Broker Services. Communicating Between Object Brokers. Understanding CORBA—Common Object Request Broker Architecture. Understanding COM—Component Object Model. Understanding XMLTP—XML Transfer Protocol. Understanding Java RMI—Remote Method Invocation. Understanding SOAP—Simple Object Access Protocol. Integrating XML Data Repositories— Distributed Objects. Getting Down to Cases. @CHAPTER 20. Enterprise Resource Planning and XML.

Understanding How XML Can Work with ERP. Communication Between Enterprise Systems. Current ERP Systems. System Conversions. Troubleshooting ERP Systems.


21. RDF—The Resource Description Framework.

Understanding Metadata. Appreciating the Need for a Separate Description Language. Defining Universal RDF Vocabularies. Understanding the Dublin Core. Understanding PICS. Exploring RDF Syntax. Knowing When to Supplement XML with RDF. Troubleshooting RDF. @CHAPTER 22. XHTML in Detail.

Using XHTML in an HTML WORLD. Demonstrating HTML Minimization. Correcting HTML Idiosyncrasies Understanding XHTML Extensibility Converting HTML to XHTML. Customizing XHTML. Troubleshooting XHTML.

23. Using SMIL—The Synchronized Multimedia Markup Language.

Understanding SMIL—HyTime's Distant Cousin. Understanding Synchronization. Exploring SMIL Syntax. SMIL Time Model. Troubleshooting SMIL.

24. Using MathML—The Math Markup Language. @AHEADS Understanding MathML. Why MathML Is Important. Using MathML Presentation Elements W3C Proposed MathML 2.0 Additions to Presentation Markup. Doing Math with MathML Syntax Elements. Using MathML Content Elements Proposed MathML 2.0 Changes and Additions to Content Elements. Understanding the MathML Interface Element. Syntax Versus Presentation. Mixing Maths and Text in MathML. MathML Tools. CML and Other Scientific XML Applications. Getting Down to Cases.

25. Accessibility.

Web Accessibility Overview. The Human Case for Accessibility The Business Case for Accessibility. The Legal Case for Accessibility. Low-Vision Display Techniques Coping with Braille. Using Aural Style Sheets and Audio Browsers. Making an XML Document Accessible. Troubleshooting Accessibility Problems.

26. Industry Cooperation and Resources.

Moving Toward XML in Commercial Applications. Looking at Successful DTDs. Other XML-Related Industry Groups. DTD Archives and Standards Bodies. XML-Related Software. Getting Down to Cases.

27. Summing Up— The Future of the Web.

XML Choreography. Placing Power in the Hands of the User. Multiple Languages Multiple Media. Multiple Data Streams. Serving Multiple Kinds of Users. Looking at the Future of HTML. Troubleshooting the Future.


Appendix A. XML/XHTML Reference.

XML Technical Reference. XHTML Technical Reference.

Appendix B. Tools for XML/XHTML Editing and Conversion.

XML Validators. XML Editors. XML-Enabled Browsers. XML Development Tools. XML Parsing Engines. XML/SGML Conversion Tools. Miscellaneous XML Tools. XML-Enabled Applications.

Appendix C. Contents of the CD. @AHEADS Useful Files. Code Samples. Freeware. Shareware. Demoware.

Appendix D. Character Entities.

XML and XHTML Character Sets.

Appendix E. CSS1, CSS2 Reference.

Inspecting a Style Sheet Example. CSS Quick Reference. Text(2). Understanding Why CSS is Important. Browser Support for CSS. Handling Bugs Gracefully. Reference. Notes on CSS2, the Next Generation of Style Sheets.



For teachers

All the material you need to teach your courses.

Discover teaching material

Published by Que Publishing (July 16th 2002) - Copyright © 2003