Complete Idiot's Guide to XML
Author David Gulbransen explains the evolution of XML, the concepts behind the XML technology, and the reasons why you might consider XML for applications within your organization. Learn the historical background on XML and how it came into being, including its relationships to other Web technologies such as HTML. See explanations of the building blocks of XML, which allow you to create and use XML based documents and solutions. Coverage of advanced XML topics is included, which will provide you with the direction for more complex XML solutions. Also included is an overview of the related technologies which are helping XML become firmly entrenched in data management issues relating to the Internet.
- Mixed media product | 350 pages
- 186 x 226 x 22mm | 639.58g
- 01 May 2000
- Pearson Education (US)
- Que Corporation,U.S.
- United States
Table of contents
I. GETTING TO KNOW XML. 1. Shaking Hands with XML. Introducing Markup. Formatting Text. Describing Data. Tags Are the Heart of Markup. What Is a Tag? What Does a Tag Look Like in XML? Standing on the Shoulder of a Giant. The Confusion of XML. XML Doesn't Define XML Tags. XML Allows You to Create Your Own Tags. Hello, My Name Is XML. De-mystifying XML. 2. Meet the Markup Languages: XML, SGML, and HTML. SGML: The Parent of XML. The Power of SGML. The Confusion of SGML. XML and HTML As Siblings. XML and HTML Owe SGML a Life Debt. If We Have SGML, Why Do We Need XML? SGML Is Complex. What About HTML? Will XML Replace It? HTML 4.2 Is the Last of a Dying Breed. Welcome XHTML. The Technical Lowdown on XML. Elements. Attributes. Entities. Comments. 3. Beauty's Only Skin Deep: Content Versus Display. What Is Content? Text. Binary Data. Putting On the Makeup of HTML. HTML Lacks Descriptive Tags. HTML Is Not Extensible. XML Is Structured Data. XML Focuses on Structure Not Appearance. XML Is a Meta-language for Content. 4. Tools for Using XML: The XML Editor. Introducing Your Friend, the XML Editor. XML Editors Use XML Parsers. Why Would You Want to Use an XML Editor? A Visual Tool for Markup. Saving Time and Energy. The XML Parser. Reading the File. Enforcing the Rules. Introducing XML Pro. It's a Visual XML Editor. Installing and Launching XML Pro. 5. Cowabunga! Your First XML Document. Planning the Document. A Simple Book Catalog. Using Only Elements. Creating a New Document with XML Pro. The Root Element. Using XML Pro to Make Elements. Inserting Elements into Your Document. Putting Information into Your Elements. The Finished Document. What Does XML Code Actually Look Like? II. THE BUILDING BLOCKS OF XML. 6. The Foundation of XML: Elements. Elements: More Than Just Tags. A Special Tag: The Empty Element. Generic Identifiers. Some Rules for Naming Elements. What's in a Name? Reserved Keywords. Back Off and Give Me Some Namespace! The Elements of Style, or the Style of Elements. Let's Make Elements. 7. A Rose by Any Other Name: Using Attributes. If Elements Are Nouns, Attributes Are Adjectives. Attributes Supplement Elements. When to Use Attributes. Classifying Attributes: Attribute Types. Attribute Rules. An Attribute Example. Expanding the Address Book. Planning the Attributes. 8. The Anatomy of an XML Document. Let's Start at the Very Beginning. The XML Prolog. The Root Element. The Absolute Minimum. Examining the Code of the Address Book. 9. Just The Base Model: A Simple XML Document. Text in Documents. PCDATA. CDATA. Comments. An Example: A Clothing Catalog. The Elements. The Attributes. Pulling It Together. III. MOVING INTO XML CONCEPTS. 10. Welcome to the Real World: XML in Use. XML Makes Data Portable. Compression and Transmission. XML Makes Data Easily Read. Internationalization. XML Provides Structure. XML Is a Great Data Format. Example: Airline Ticketing. Designing Structured Documents. Validating Documents. 11. Using XML Vocabularies. XML Is a Meta-Language. XML: A Language with Vocabularies. Using XML Through Existing Vocabularies. Finding XML Needles in the World Wide Haystack. Science and Technology-Oriented XML. Chemical Markup Language (CML). Mathematical Markup Language (MathML). Scalable Vector Graphics (SVG). Business-Oriented XML. BizTalk. Health Level 7 (HL7). XML-Based Financial Reporting Markup Language (XFRML). XHTML. XML Schemas. Creating Your Own Vocabularies. 12. The XML Commandments: Well-formedness and Validity. The Rules for Structure. An XML Document Is Born. Well-formedness Constraints. Well-formedness and Entities. The Basics of Validation. The Rule Book: The Document Type Definition. How Do Applications Use XML? Non-Validating Parsers. Validating Parsers. IV. THE TOTAL XML PACKAGE: VALIDATION. 13. The Rules of the Game: Schemas. XML Is XML Is XML. Or Is It? Schemas: The Blueprints of Your XML. Setting Up the Rules for Your Documents. Enforcing the Rules. Document Type Definitions (Legacy Schema). The DTD Is a Holdover from SGML. DTDs Will Eventually Be a Legacy. Defining a DTD. Basic Text. Elements, Attributes, and Entities. New Schemas on the Horizon. XML Schemas Are Less Cryptic. Recursive: Use XML to Define XML. 14. The Granddaddy Schema: The Document Type Definition (DTD). DTDs Hail from SGML. The DTD as an Outline. Why Use a DTD? Using a Predefined Markup Language. Consistency. Collaborative Authoring. Highly Structured Documents. What Are the Parts of the DTD. Element Declarations. Attribute-List Declarations. Notation Declarations. Entity Declarations. Parameter Entity Declarations. Comments. DTDs and XML Documents. Some DTD Resources. Don't Reinvent the Wheel. Where to Go for Schemas and DTDs. 15. Parts Is Parts: Elements in the DTD. A Quick Review of Element Basics. Element Content Basics. Element Content. Mixed Content. How Do You Define the Element? The Element Type Declaration. Bringing It All Together. 16. Don't Hate Me Because I'm Beautiful: Attributes in the DTD. The Different Types of Attributes. ID. IDREF and IDREFS. ENTITY and ENTITIES. NMTOKEN and NMTOKENS. NOTATION. CDATA. Attributes Come in Different Flavors. IMPLIED Attributes. REQUIRED Attributes. FIXED Attributes. Attribute-List Declarations. Enumerated Attributes. Putting It All Together. 17. Dissecting the DTD. DTD Syntax. The Internal Versus External DTD. A Sample DTD. Outlining the Project. The Element Declarations. The Attribute-List Declarations. Bringing It All Together. How the DTD Is Associated with the XML File. The XML Document. V. ADVANCED XML. 18. Entities: XML Shortcuts Not for the Faint of Heart. Entities: XML Shorthand. Representing Difficult Characters. Predefined Entities. Shorthand for Commonly Used Phrases. The Entity Declaration. Inside or Out? 19. Entities, Entities, and More Entities. Parsed Versus Unparsed. Character Entities. Replacing Text. Parameter Entities. The Entity Review. 20. All the Little Extras: PIs, Notations, and Comments. The Icing on the Cake. Notations. Attributes and Entities. Processing Instructions. Final Comments. Using Comments. 21. The Test Drive: An XML Project Example. The Project Background. Planning the Document Structure. Adding Attributes. Writing the DTD. Notations and Entities. Element Declarations. Attribute-List Declarations. Bringing It All Together. Writing the Document. VI. RESOURCES. Guide to Reading the XML Recommendation. Why Reference Is Important. The W3C Recommendation Process. Standards Relationships. XML Design Goals. Reading the Specification. Terms. Notation. Discussion of XML 1.0 Recommendation. Summary. XML Pro User Guide. Copyrights. XML Pro Samples. Trademarks. How to Contact Us. Contents. Preface. Audience. Requirements. Chapter 1: Installation. Installation of XML Pro. Uninstalling XML Pro. Chapter 2: Basic File Operations. Creating New Documents. Opening Files. Closing Files. Saving Files. Printing Files. Editing Operations. Undo. Cut. Copy. Paste. Find. Chapter 3: Using XML Pro Features. The Element Wizard. Creating Elements. Deleting Elements. The Element Palette. Inserting Elements with the Element Palette. Elements in the Document. Inserting Elements in the Document. Deleting Elements in the Document. Moving Elements. The Attribute Wizard. Creating New Attributes. Deleting Existing Attributes. Attributes with DTDs. The Entity Palette. Adding an Entity to the Document. Removing an Entity from the Document. Chapter 4: XML Pro Editing Features. Inserting Comments. Removing Comments from the Document. Inserting CDATA. Removing CDATA from the Document. Inserting PCDATA. Removing PCDATA from the Document. Editing PCDATA. Viewing PCDATA in Context. Editing Attributes. Assigning Values to Attributes. How Attributes Are Written. Viewing Attributes in the Document Tree. Chapter 5: XML Pro User Options. View PCDATA in Tree. Show Attributes in Tree. Show Element Palette. Show Entity Palette. Available Elements Constrained by DTD. Viewing the XML Code. Viewing the DTD. Chapter 6: XML Pro Validation Features. Associating DTDs with Documents. Removing a DTD Association. Elements and DTDs. Validating the Document. Errors with the DTD. Handling Invalid Documents. Chapter 7: Troubleshooting XML Pro. Problems with Installation. Problems Loading Documents. Problems Saving Documents. Printing Problems. Glossary. Index.
About David Gulbransen
David Gulbransen has been employed as an information systems professional for more than eight years. He has worked in UNIX-based environments serving companies such as Fox Television, MCA Records, and Suna Microsystems. In 1997, David founded Vervet Logic, a software company developing XML and Web tools for new media development. Some of his other books include Creating Web Applets with Javaa , The Netscape(R) Server Survival Guide, and Special Edition Using Dynamic HTML.