Cover image for XML Pocket Reference, 3rd Edition

Book description

XML, the Extensible Markup Language, is everywhere: the syntax of choice for newly designed document formats across almost all computer applications. Now used daily by developers, XML is living up to its reputation as one of the most important developments in document interchange in the history of computing.

A perennial bestseller, the handy XML Pocket Reference from O'Reilly has been revised once again to give you quick access to the latest goods. In addition to its comprehensive look at XML, this third edition has been updated with new material on Namespaces and XML Schema--considered among the most important elements in current XML use--along with RELAX NG and Schematron, additional powerful tools for describing XML document structures.

Like other titles in O'Reilly's Pocket Reference series, the XML Pocket Reference, 3rd Edition features a well-organized format that gets right to the point. As a result, it's already won over the allegiance of developers everywhere. If you need XML answers quick and on the fly, this compact book is most definitely the book for you.

Table of Contents

  1. XML Pocket Reference, 3rd Edition
  2. 1. XML Pocket Reference
    1. Introduction
      1. A Simple XML Document
    2. XML Structures
      1. Elements
        1. Productions
        2. Examples
        3. Description
          1. Start-tags and end-tags
          2. Empty-element tags
          3. Element nesting
          4. Structures and relationships
          5. Mixed content
        4. See also
      2. Attributes
        1. Productions
        2. Examples
        3. Description
        4. See also
      3. Text
        1. Productions
        2. Examples
        3. Description
        4. See also
      4. Character, Entity, and Predefined Entity References
        1. Productions
        2. Examples
        3. Description
          1. Character references
          2. Entity references
          3. Predefined entities
        4. See also
      5. Comments
        1. Productions
        2. Examples
        3. Description
        4. See also
      6. The XML Declaration
        1. Productions
        2. Examples
        3. Description
          1. Version information
          2. The encoding declaration
          3. The standalone document declaration
        4. See also
      7. Processing Instructions
        1. Productions
        2. Examples
        3. Description
        4. See also
      8. CDATA Sections
        1. Productions
        2. Examples
        3. Description
        4. See also
      9. The DOCTYPE Declaration
        1. Productions
        2. Examples
        3. Description
        4. See also
      10. The xml:space Attribute
        1. Example
        2. Description
        3. See also
      11. The xml:lang Attribute
        1. Example
        2. Description
        3. See also
      12. The xml:id Attribute
        1. Example
        2. Description
        3. See also
      13. XML Namespaces
        1. Examples
        2. Qualified or prefixed namespace declaration
        3. Description
          1. Qualified names or names with prefixes
          2. The xml: and xmlns: prefixes
          3. Undeclaring namespaces with Version 1.1
        4. See also
    3. Document Type Definitions
        1. Productions
        2. Examples
        3. Description
          1. External subset
          2. The text declaration
          3. Element type declarations and content models
          4. Attribute-list declarations
        4. Emulating namespace support in DTDs
        5. Internal subset
        6. Using internal and external subsets together
        7. Parsed entities
        8. Parameter entities
        9. Other things that can go in a DTD
          1. Comments in DTDs
          2. Conditional sections in DTDs
          3. Mixed-content declarations
          4. Unparsed entities and notations in DTDs
        10. See also
    4. W3C XML Schema
      1. Creating a Simple Schema
        1. Namespaces
        2. Named and anonymous type definitions
        3. Varied document structures
      2. Compositors
        1. When anything is allowed
        2. Model groups
        3. Empty content, mixed content, and default values
        4. Annotations
      3. XML Schema Structure Elements
        1. xs:all
        2. xs:annotation
        3. xs:any
        4. xs:anyAttribute
        5. xs:appInfo
        6. xs:attribute
        7. xs:attributeGroup
        8. xs:choice
        9. xs:complexContent
        10. xs:complexType
        11. xs:documentation
        12. xs:element
        13. xs:extension
        14. xs:field
        15. xs:group
        16. xs:import
        17. xs:include
        18. xs:key
        19. xs:keyref
        20. xs:list
        21. xs:notation
        22. xs:redefine
        23. xs:restriction
        24. xs:schema
        25. xs:selector
        26. xs:sequence
        27. xs:simpleContent
        28. xs:simpleType
        29. xs:union
        30. xs:unique
      4. XML Schema Datatypes
        1. xs:anySimpleType
        2. xs:anyURI
        3. xs:base64binary
        4. xs:boolean
        5. xs:byte
        6. xs:date
        7. xs:dateTime
        8. xs:decimal
        9. xs:double
        10. xs:duration
        11. xs:ENTITIES
        12. xs:ENTITY
        13. xs:float
        14. xs:gDay
        15. xs:gMonth
        16. xs:gMonthDay
        17. xs:gYear
        18. xs:gYearMonth
        19. xs:hexBinary
        20. xs:ID
        21. xs:IDREF
        22. xs:IDREFS
        23. xs:int
        24. xs:integer
        25. xs:language
        26. xs:long
        27. xs:Name
        28. xs:NCName
        29. xs:negativeInteger
        30. xs:NMTOKEN
        31. xs:NMTOKENS
        32. xs:nonNegativeInteger
        33. xs:nonPositiveInteger
        34. xs:normalizedString
        35. xs:NOTATION
        36. xs:positiveInteger
        37. xs:QName
        38. xs:short
        39. xs:string
        40. xs:time
        41. xs:token
        42. xs:unsignedByte
        43. xs:unsignedInt
        44. xs:unsignedLong
        45. xs:unsignedShort
      5. XML Schema Constraining Facets
        1. xs:enumeration
        2. xs:fractionDigits
        3. xs:length
        4. xs:maxExclusive
        5. xs:maxInclusive
        6. xs:maxLength
        7. xs:minExclusive
        8. xs:minInclusive
        9. xs:minLength
        10. xs:pattern
        11. xs:totalDigits
        12. xs:whiteSpace
      6. XML Schema Attributes for Use in Instance Documents
        1. xsi:nil
        2. xsi:noNamespaceSchemaLocation
        3. xsi:schemaLocation
        4. xsi:type
    5. RELAX NG
      1. rng:anyName
      2. rng:attribute
      3. rng:choice
      4. rng:data
      5. rng:define
      6. rng:div
      7. rng:element
      8. rng:empty
      9. rng:except
      10. rng:externalRef
      11. rng:grammar
      12. rng:group
      13. rng:include
      14. rng:interleave
      15. rng:list
      16. rng:mixed
      17. rng:name
      18. rng:notAllowed
      19. rng:nsName
      20. rng:oneOrMore
      21. rng:optional
      22. rng:param
      23. rng:parentRef
      24. rng:ref
      25. rng:start
      26. rng:text
      27. rng:value
      28. rng:zeroOrMore
    6. Schematron
      1. Core Elements
        1. sch:schema
        2. sch:pattern
        3. sch:rule
        4. sch:assert
      2. Other Elements
        1. sch:active
        2. sch:diagnostic
        3. sch:diagnostics
        4. sch:dir
        5. sch:emph
        6. sch:extends
        7. sch:include
        8. sch:let
        9. sch:name
        10. sch:ns
        11. sch:p
        12. sch:param
        13. sch:phase
        14. sch:report
        15. sch:span
        16. sch:title
        17. sch:value-of
    7. XML Specifications
  3. Index
  4. About the Authors
  5. Copyright