Create bookmark
XML in a Nutshell
Notes
Please login to add notes
- Table of Contents
- + Preface
- I
- + Introducing XML
-
+
XML Fundamentals
- + Document Type Definitions (DTDs)
-
+
Namespaces
- + Internationalization
- II
- + XML as a Document Format
- + XML on the Web
-
+
XSL Transformations (XSLT)
- An Example Input Document
- xsl:stylesheet and xsl:transform
- + Stylesheet Processors
- Templates and Template Rules
- Calculating the Value of an Element with xsl:value-of
- Applying Templates with xsl:apply-templates
- + The Built-in Template Rules
- Modes
- Attribute Value Templates
- XSLT and Namespaces
- Other XSLT Elements
-
+
XPath
-
+
XLinks
-
+
XPointers
- + XInclude
-
+
Cascading Style Sheets (CSS)
- + XSL Formatting Objects (XSL-FO)
- + Resource Directory Description Language (RDDL)
- III
- + XML as a Data Format
- + XML Schemas
-
+
Programming Models
- + Document Object Model (DOM)
- + Simple API for XML (SAX)
- IV
-
+
XML Reference
- How to Use This Reference
- Annotated Sample Documents
-
+
XML Syntax
- + Global Syntax Structures
-
+
DTD (Document Type Definition)
- Parameter Entities
- Parameter Entity Declarations
- Parsed General Entities
- Text Declarations
- External Subset
- Internal DTD Subset
- Element Type Declaration
- Empty Element Type
- Any Element Type
- Mixed Content Element Type
- Constrained Child Nodes
- Attribute List Declaration
- NOTATION Attribute Type
- Enumeration Attribute Type
- Default Values
- Special Attributes
- Notation Declaration
- Conditional Sections
- + Document Body
- + Namespaces
-
+
Constraints
- + Well-Formedness Constraints
-
+
Validity Constraints
- Root Element Type
- Proper Declaration/PE Nesting
- Standalone Document Declaration
- Element Valid
- Attribute Value Type
- Unique Element Type Declaration
- Proper Group/PE Nesting
- No Duplicate Types
- ID
- One ID per Element Type
- ID Attribute Default
- IDREF
- Entity Name
- Name Token
- Notation Attributes
- One Notation per Element Type
- No Notation on Empty Element
- Enumeration
- Required Attribute
- Attribute Default Legal
- Fixed Attribute Default
- Proper Conditional Section/PE Nesting
- Entity Declared
- Notation Declared
- Unique Notation Name
- + Namespace Constraints
-
+
XML 1.0 Document Grammar
-
+
EBNF Grammar for XML 1.0 (Third Edition)
- Document
- Character range
- Whitespace
- Names and tokens
- Literals
- Character data
- Comments
- Processing instructions
- CDATA sections
- Prolog
- Document type definition
- External subset
- Standalone document declaration
- Element
- Start-tag
- End-tag
- Content of elements
- Tags for empty elements
- Element type declaration
- Element-content models
- Mixed-content declaration
- Attribute-list declaration
- Attribute types
- Enumerated attribute types
- Attribute defaults
- Conditional section
- Character reference
- Entity reference
- Entity declaration
- External entity declaration
- Text declaration
- Well-formed external parsed entity
- Encoding declaration
- Notation declarations
- Characters
-
+
EBNF Grammar for XML 1.0 (Third Edition)
-
+
XML 1.1 Document Grammar
-
+
EBNF Grammar for XML 1.1
- Document
- Character range
- Whitespace
- Names and tokens
- Literals
- Character data
- Comments
- Processing instructions
- CDATA sections
- Prolog
- Document type definition
- External subset
- Standalone document declaration
- Element
- Start-tag
- End-tag
- Content of elements
- Tags for empty elements
- Element type declaration
- Element-content models
- Mixed-content declaration
- Attribute-list declaration
- Attribute types
- Enumerated attribute types
- Attribute defaults
- Conditional section
- Character reference
- Entity reference
- Entity declaration
- External entity declaration
- Text declaration
- Well-formed external parsed entity
- Encoding declaration
- Notation declarations
-
+
EBNF Grammar for XML 1.1
-
+
Schemas Reference
- The Schema Namespaces
-
+
Schema Elements
- xs:all
- xs:annotation
- xs:any
- xs:anyAttribute
- xs:appinfo
- xs:attribute
- xs:attributeGroup
- xs:choice
- xs:complexContent
- xs:complexType
- xs:documentation
- xs:element
- xs:enumeration
- xs:extension
- xs:field
- xs:fractionDigits
- xs:group
- xs:import
- xs:include
- xs:key
- xs:keyref
- xs:length
- xs:list
- xs:maxExclusive
- xs:maxInclusive
- xs:maxLength
- xs:minExclusive
- xs:minInclusive
- xs:minLength
- xs:notation
- xs:pattern
- xs:redefine
- xs:restriction
- xs:schema
- xs:selector
- xs:sequence
- xs:simpleContent
- xs:simpleType
- xs:totalDigits
- xs:union
- xs:unique
- xs:whiteSpace
-
+
Built-in Types
- xs:anyURI
- xs:base64Binary
- xs:boolean
- xs:byte
- xs:date
- xs:dateTime
- xs:decimal
- xs:double
- xs:duration
- xs:ENTITIES
- xs:ENTITY
- xs:float
- xs:gDay
- xs:gMonth
- xs:gMonthDay
- xs:gYear
- xs:gYearMonth
- xs:hexBinary
- xs:ID
- xs:IDREF
- xs:IDREFS
- xs:int
- xs:integer
- xs:language
- xs:long
- xs:Name
- xs:NCName
- xs:negativeInteger
- xs:NMTOKEN
- xs:NMTOKENS
- xs:nonNegativeInteger
- xs:nonPositiveInteger
- xs:normalizedString
- xs:NOTATION
- xs:positiveInteger
- xs:QName
- xs:short
- xs:string
- xs:time
- xs:token
- xs:unsignedByte
- xs:unsignedInt
- xs:unsignedLong
- xs:unsignedShort
- + Instance Document Attributes
-
+
XPath Reference
-
+
XSLT Reference
- The XSLT Namespace
-
+
XSLT Elements
- xsl:apply-imports
- xsl:apply-templates
- xsl:attribute
- xsl:attribute-set
- xsl:call-template
- xsl:choose
- xsl:comment
- xsl:copy
- xsl:copy-of
- xsl:decimal-format
- xsl:element
- xsl:fallback
- xsl:for-each
- xsl:if
- xsl:import
- xsl:include
- xsl:key
- xsl:message
- xsl:namespace-alias
- xsl:number
- xsl:otherwise
- xsl:output
- xsl:param
- xsl:preserve-space
- xsl:processing-instruction
- xsl:sort
- xsl:strip-space
- xsl:stylesheet
- xsl:template
- xsl:text
- xsl:transform
- xsl:value-of
- xsl:variable
- xsl:when
- xsl:with-param
- + XSLT Functions
- TrAX
-
+
DOM Reference
- Object Hierarchy
-
+
Object Reference
- Attr
- isId: boolean(3)
- name: DOMString
- ownerElement: Element(2)
- schemaTypeInfo: TypeInfo(3)
- specified: boolean
- value: DOMString
- CDATASection
- CharacterData
- data: DOMString
- length: unsigned long
- appendData: arg
- deleteData: offset, count
- insertData: offset, arg
- replaceData: offset, count, arg
- substringData: offset, count
- Comment
- Document
- doctype: DocumentType
- documentElement: Element
- documentURI: DOMString(3)
- domConfig: DOMConfiguration(3)
- implementation: DOMImplementation
- inputEncoding: DOMString(3)
- strictErrorChecking: boolean(3)
- xmlEncoding: DOMString(3)
- xmlStandalone: boolean(3)
- xmlVersion: DOMString(3)
- adoptNode: adoptNode, source(3)
- createAttribute: name
- createAttributeNS: namespaceURI, qualifiedName(2)
- createCDATASection: data
- createComment: data
- createDocumentFragment( )
- createElement: tagName
- createElementNS: namespaceURI, qualifiedName(2)
- createEntityReference: name
- createProcessingInstruction: target, data
- createTextNode: data
- getElementById: elementID(2)
- getElementsByTagName: tagName
- getElementsByTagNameNS: namespaceURI, localName(2)
- importNode: importedNode, deep(2)
- normalizeDocument( ) (3)
- renameNode: n, namespaceURI, qualifiedName(3)
- DocumentFragment
- DocumentType
- entities: NamedNodeMap
- internalSubset: DOMString
- name: DOMString
- notations: NamedNodeMap
- publicId: DOMString
- systemId: DOMString
- DOMConfiguration(3)
- parameterNames: DOMStringList(3)
- canSetParameter: name, value(3)
- getParameter: name(3)
- setParameter: name, value(3)
- DOMError(3)
- location: DOMLocator(3)
- message: DOMString(3)
- relatedData: DOMObject(3)
- relatedException: DOMObject(3)
- severity: unsigned short(3)
- type: DOMString(3)
- DOMErrorHandler(3)
- handleError: error(3)
- DOMException
- INDEX_SIZE_ERR [unsigned short, value: 1]
- DOMSTRING_SIZE_ERR [unsigned short, value: 2]
- HIERARCHY_REQUEST_ERR [unsigned short, value: 3]
- WRONG_DOCUMENT_ERR [unsigned short, value: 4]
- INVALID_CHARACTER_ERR [unsigned short, value: 5]
- NO_DATA_ALLOWED_ERR [unsigned short, value: 6]
- NO_MODIFICATION_ALLOWED_ERR [unsigned short, value: 7]
- NOT_FOUND_ERR [unsigned short, value: 8]
- NOT_SUPPORTED_ERR [unsigned short, value: 9]
- INUSE_ATTRIBUTE_ERR [unsigned short, value: 10]
- INVALID_STATE_ERR [unsigned short, value: 11](2)
- SYNTAX_ERR [unsigned short, value: 12](2)
- INVALID_MODIFICATION_ERR [unsigned short, value: 13](2)
- NAMESPACE_ERR [unsigned short, value: 14](2)
- INVALID_ACCESS_ERR [unsigned short, value: 15](2)
- VALIDATION_ERR [unsigned short, value: 16](3)
- TYPE_MISMATCH_ERR [unsigned short, value: 17](3)
- DOMImplementation
- createDocument: namespaceURI, qualifiedName, doctype(2)
- createDocumentType: qualifiedName, publicId, systemId(2)
- getFeature: feature, version(3)
- hasFeature: feature, version
- DOMImplementationRegistry(3)
- DOMImplementationSource(3)
- getDOMImplementation: features(3)
- getDOMImplementationList: features(3)
- DOMLocator(3)
- byteOffset: long(3)
- columnNumber: long(3)
- lineNumber: long(3)
- relatedNode: Node(3)
- uri: DOMString(3)
- utf16Offset: long(3)
- DOMObject(3)
- DOMString
- DOMStringList(3)
- length: unsigned long(3)
- contains: str(3)
- item: index(3)
- DOMUserData(3)
- Element
- schemaTypeInfo: TypeInfo(3)
- tagName: DOMString
- getAttribute: name
- getAttributeNS: namespaceURI, localName(2)
- getAttributeNode: name
- getAttributeNodeNS: namespaceURI, localName(2)
- getElementsByTagName: name
- getElementsByTagNameNS: namespaceURI, localName(2)
- hasAttribute: name(2)
- hasAttributeNS: namespaceURI, localName(2)
- normalize
- removeAttribute: name
- removeAttributeNS: namespaceURI, localName(2)
- removeAttributeNode: oldAttr
- setAttribute: name, value
- setAttributeNS: namespaceURI, qualifiedName, value(2)
- setAttributeNode: newAttr
- setAttributeNodeNS: newAttr(2)
- setIdAttribute: name, isId(3)
- setIdAttributeNS: namespaceURI, localName, isId(3)
- setIdAttributeNode: idAttr, isId(3)
- Entity
- inputEncoding: DOMString(3)
- notationName: DOMString
- publicId: DOMString
- systemId: DOMString
- xmlEncoding: DOMString(3)
- xmlVersion: DOMString(3)
- EntityReference
- NameList(3)
- length: unsigned long(3)
- contains: str(3)
- containsNS: namespaceURI, name(3)
- getName: index(3)
- getNamespaceURI: index(3)
- NamedNodeMap
- length: unsigned long
- getNamedItem: name
- getNamedItemNS: namespaceURI, localName(2)
- item: index
- removeNamedItem: name
- removeNamedItemNS: namespaceURI, localName(2)
- setNamedItem: arg
- setNamedItemNS: arg(2)
- Node
- attributes: NamedNodeMap
- baseURI: DOMString(3)
- childNodes: NodeList
- firstChild: Node
- lastChild: Node
- localName: DOMString(2)
- namespaceURI: DOMString(2)
- nextSibling: Node
- nodeName: DOMString
- nodeType: unsigned short
- nodeValue: DOMString
- ownerDocument: Document
- parentNode: Node
- prefix: DOMString(2)
- previousSibling: Node
- textContent: DOMString(3)
- appendChild: newChild
- cloneNode: deep
- compareDocumentPosition: other(3)
- getFeature: feature, version(3)
- getUserData: key(3)
- hasAttributes( )
- hasChildNodes( )
- insertBefore: newChild, refChild
- isDefaultNamespace: namespaceURI(3)
- isEqualNode: arg(3)
- isSameNode: other(3)
- isSupported: feature, version(2)
- lookupNamespaceURI: prefix(3)
- lookupPrefix: namespaceURI(3)
- normalize( )(2)
- removeChild: oldchild
- replaceChild: newChild, oldchild
- setUserData: key, data, handler(3)
- NodeList
- length: unsigned long
- item:index
- ProcessingInstruction
- data: DOMString
- target: DOMString
- Text
- wholeText: DOMString(3)
- isElementContentWhitespace: boolean(3)
- replaceWholeText: content(3)
- splitText: offset
- TypeInfo(3)
- typeName: DOMString(3)
- typeNamespace: DOMString(3)
- isDerivedFrom: typeNamespaceArg, typeNameArg, derivationMethod(3)
- UserDataHandler(3)
- handle: operation, key, data, src, dst(3)
-
+
SAX Reference
-
+
The org.xml.sax Package
- The Attributes Interface
- The ContentHandler Interface
- The DTDHandler Interface
- The EntityResolver Interface
- The ErrorHandler Interface
- The Locator Interface
- The XMLFilter Interface
- The XMLReader Interface
- The InputSource Class
- The SAXException Class
- SAXParseException
- SAXNotRecognizedException
- SAXNotSupportedException
- + The org.xml.sax.helpers Package
- + SAX Features and Properties
- + The org.xml.sax.ext Package
-
+
The org.xml.sax Package
-
+
Character Sets
- + Character Tables
- HTML4 Entity Sets
-
+
Other Unicode Blocks
- Latin Extended-A
- Latin Extended-B
- IPA Extensions
- Spacing Modifier Letters
- Combining Diacritical Marks
- Greek and Coptic
- Cyrillic
- Armenian
- Hebrew
- Arabic
- Devanagari
- Thai
- Tibetan
- Ethiopic
- Latin Extended Additional
- Greek Extended
- General Punctuation
- Currency Symbols
- Letter-Like Symbols
- Arrows
- Mathematical Operators
- Miscellaneous Technical
- Optical Character Recognition
- Geometric Shapes
- Miscellaneous Symbols
- Dingbats
- Index
If you're a developer working with XML, you know there's a lot to know about XML, and the XML space is evolving almost moment by moment. But you don't need to commit every XML syntax, API, or XSLT transformation to memory; you only need to know where to find it. And if it's a detail that has to do with XML or its companion standards, you'll find it--clear, concise, useful, and well- organized--in the updated third edition of XML in a Nutshell.
With XML in a Nutshell beside your keyboard, you'll be able to:
Quick-reference syntax rules and usage examples for the core XML technologies, including XML, DTDs, Xpath, XSLT, SAX, and DOM
Develop an understanding of well-formed XML, DTDs, namespaces, Unicode, and W3C XML Schema
Gain a working knowledge of key technologies used for narrative XML documents such as web pages, books, and articles technologies like XSLT, Xpath, Xlink, Xpointer, CSS, and XSL-FO
Build data-intensive XML applications
- Understand the tools and APIs necessary to build data-intensive XML applications and process XML documents, including the event-based Simple API for XML (SAX2) and the tree-oriented Document Object Model (DOM)
This powerful new edition is the comprehensive XML reference. Serious users of XML will find coverage on just about everything they need, from fundamental syntax rules, to details of DTD and XML Schema creation, to XSLT transformations, to APIs used for processing XML documents. XML in a Nutshell also covers XML 1.1, as well as updates to SAX2 and DOM Level 3 coverage. If you need explanation of how a technology works, or just need to quickly find the precise syntax for a particular piece, XML in a Nutshell puts the information at your fingertips.
Simply put, XML in a Nutshell is the critical, must-have reference for any XML developer.
Test the closed alpha on paperc.com
Book Details
Authors
Elliotte Rusty Harold and W. Scott Means
Categories
Computers > Programming Languages > XML
Publishers
Publication year : 2007
License: All rights reserved ©
Times read: 1,538

