Inside XML

Book description

The XML explosion hardly needs any introduction-it's everywhere and there just seems to be no end to what can be done with XML. While writing to the W3C standards, and keeping up with the pace for corporate implementation, you, the programmer or web developer, will need a comprehensive guide to get you started and show you what XML and its related technologies can do. A thorough guide is imperative to success because you will need to know and understand the full scope of XML from day one in order to work with it successfully. With your time constraints and impossible project schedules, you need a comprehensive guide that fulfills your needs in one complete book. Inside XML is an anchor book that covers both the Microsoft and non-Microsoft approach to XML programming. It covers in detail the hot aspects of XML; such as, DTD's vs. XML Schemas, CSS, XSL, XSLT, Xlinks, Xpointers, XHTML, RDF, CDF, parsing XML in Perl and Java, and much more.

Table of contents

  1. Copyright
  2. About the Author
  3. About the Technical Reviewers
  4. Acknowledgments
  5. Tell Us What You Think
  6. Introduction
  7. Essential XML
    1. Markup Languages
    2. What Does XML Look Like?
    3. What Does XML Look Like in a Browser?
    4. What's So Great About XML?
    5. Well-Formed XML Documents
    6. Valid XML Documents
    7. Parsing XML Yourself
    8. XML Resources
    9. XML Editors
    10. XML Browsers
    11. XML Parsers
    12. XML Validators
    13. CSS and XSL
    14. XLinks and XPointers
    15. URLs versus URIs
    16. ASCII, Unicode, and the Universal Character System
    17. XML Applications
  8. Creating Well-Formed XML Documents
    1. The World Wide Web Consortium
    2. What Is a Well-Formed XML Document?
    3. Markup and Character Data
    4. The Prolog
    5. The XML Declaration
    7. Processing Instructions
    8. Tags and Elements
    9. The Root Element
    10. Attributes
    11. Building Well-Formed Document Structure
    12. CDATA Sections
    13. XML Namespaces
    14. Infosets
    15. Canonical XML
  9. Valid XML Documents: Creating Document Type Definitions
    1. Creating Document Type Declarations
    2. Creating Document Type Definitions
    3. A DTD Example
    4. External DTDs
    5. Using Document Type Definitions with URLs
    6. Public Document Type Definitions
    7. Using Both Internal and External DTDs
    8. Namespaces and DTDs
    9. Validating Against a DTD
  10. DTDs: Entities and Attributes
    1. Entities
    2. Attributes
    3. Creating Internal General Entities
    4. Creating External General Entities
    5. Building a Document from Pieces
    6. Predefined General Entity References
    7. Creating Internal Parameter Entities
    8. External Parameter Entities
    9. Using INCLUDE and IGNORE
    10. All About Attributes
    11. Embedding Non-XML Data in a Document
    12. Embedding Multiple Unparsed Entities in a Document
  11. Creating XML Schemas
    1. XML Schemas in Internet Explorer
    2. W3C XML Schemas
    3. Declaring Types and Elements
    4. Specifying Attribute Constraints and Defaults
    5. Creating Simple Types
    6. Creating Empty Elements
    7. Creating Mixed-Content Elements
    8. Annotating Schemas
    9. Creating Choices
    10. Creating Sequences
    11. Creating Attribute Groups
    12. Creating all Groups
    13. Schemas and Namespaces
  12. Understanding JavaScript
    1. What Is JavaScript?
    2. JavaScript Is Object-Oriented
    3. Programming in JavaScript
  13. Handling XML Documents with JavaScript
    1. The W3C DOM
    2. Loading XML Documents
    3. Getting Elements by Name
    4. Getting Attribute Values from XML Elements
    5. Parsing XML Documents in Code
    6. Handling Events While Loading XML Documents
    7. Validating XML Documents with Internet Explorer
    8. Scripting XML Elements
    9. Editing XML Documents with Internet Explorer
  14. XML and Data Binding
    1. Data Binding in Internet Explorer
    2. Using Data Source Objects
    3. XML and Hierarchical Data
    4. Searching XML Data
  15. Cascading Style Sheets
    1. Attaching Style Sheets to XML Documents
    2. Selecting Elements in Style Sheet Rules
    3. Creating Style Rules
    4. Formal Style Property Specifications
  16. Understanding Java
    1. Java Resources
    2. Writing Java Programs
    3. Creating Java Files
    4. Creating Variables in Java
    5. Creating Arrays in Java
    6. Creating Strings in Java
    7. Java Operators
    8. Java Conditional Statements: if, if…else, switch
    9. Java Loops: for, while, do…while
    10. Declaring and Creating Objects
    11. Creating Methods in Java
    12. Creating Java Classes
  17. Java and the XML DOM
    1. Getting XML for Java
    2. Setting CLASSPATH
    3. Creating a Parser
    4. Displaying an Entire Document
    5. Filtering XML Documents
    6. Creating a Windowed Browser
    7. Creating a Graphical Browser
    8. Navigating in XML Documents
    9. Modifying XML Documents
  18. Java and SAX
    1. Working with SAX
    2. Displaying an Entire Document
    3. Filtering XML Documents
    4. Creating a Windowed Browser
    5. Creating a Graphical Browser
    6. Navigating in XML Documents
    7. Modifying XML Documents
  19. XSL Transformations
    1. Using XSLT Style Sheets in XML Documents
    2. Creating XSLT Style Sheets
    3. Altering Document Structure Based on Input
    4. Generating Comments with xsl:comment
    5. Generating Text with xsl:text
    6. Copying Nodes
    7. Sorting Elements
    8. Using xsl:if
    9. Using xsl:choose
    10. Controlling Output Type
  20. XSL Formatting Objects
    1. Formatting an XML Document
    2. Creating the XSLT Style Sheet
    3. Transforming a Document into a Formatting Object Form
    4. Creating a Formatted Document
    5. XSL Formatting Objects
  21. XLinks and XPointers
    1. Overview: Linking with XLinks and XPointers
    2. All About XLinks
    3. All About XPointers
  22. Essential XHTML
    1. XHTML Versions
    2. XHTML Checklist
    3. XHTML Programming
  23. XHTML at Work
    1. Displaying an Image (<img>)
    2. Creating a Hyperlink or Anchor (<a>)
    3. Setting Link Information (<link>)
    4. Creating Tables (<table>)
    5. Creating Documents with Frames (<frameset>)
    6. Using Style Sheets in XHTML
    7. Using Script Programming (<script>)
    8. Creating XHTML Forms (<form>)
    9. Extending XHTML 1.0
    10. All About XHTML 1.1 Modules
  24. Resource Description Framework and Channel Definition Format
    1. RDF Overview
    2. RDF Syntax
    3. The Dublin Core
    4. Using XML in Property Elements
    5. Using Abbreviated RDF Syntax
    6. RDF Containers
    7. Creating RDF Schemas
    8. CDF Overview
    9. CDF Syntax
    10. Creating a CDF File
    11. Setting a Channel Base URI
    12. Setting Last Modified Dates
    13. Setting Channel Usage
  25. Vector Markup Language
    1. Creating VML Documents
    2. The VML Elements
    3. The <shape> Element
    4. Using Predefined Shapes
    5. Coloring Shapes
    6. Scaling Shapes
    7. Positioning Shapes
    8. The <shadow> Element
    9. The <fill> Element
    10. Using the <shapetype> Element
    11. More Advanced VML
  26. WML, ASP, JSP, Servlets, and Perl
    1. XML and Active Server Pages
    2. XML and Java Servlets
    3. Java Server Pages
    4. XML and Perl
    5. Wireless Markup Language
  27. The XML 1.0 Specification
    1. REC-xml-19980210
    2. Extensible Markup Language (XML) 1.0
    3. Abstract
    4. Status of this document
    5. Extensible Markup Language (XML) 1.0
    6. Introduction
    7. Documents
    8. Logical Structures
    9. Physical Structures
    10. Conformance
    11. Notation
    12. Appendices
  28. Index

Product information

  • Title: Inside XML
  • Author(s): Steven Holzner
  • Release date: November 2000
  • Publisher(s): New Riders
  • ISBN: 9780735710207