

Learning XML. 2nd Edition (e-book)



Learning XML. 2nd Edition (e-book) - Najlepsze oferty
Learning XML. 2nd Edition (e-book) - Opis
This second edition of the bestselling Learning XML provides web developers with a concise but grounded understanding of XML (the Extensible Markup Language) and its potential-- not just a whirlwind tour of XML.The author explains the important and relevant XML technologies and their capabilities clearly and succinctly with plenty of real-life projects and useful examples. He outlines the elements of markup--demystifying concepts such as attributes, entities, and namespaces--and provides enough depth and examples to get started. Learning XML is a reliable source for anyone who needs to know XML, but doesn't want to waste time wading through hundreds of web sites or 800 pages of bloated text.For writers producing XML documents, this book clarifies files and the process of creating them with the appropriate structure and format. Designers will learn what parts of XML are most helpful to their team and will get started on creating Document Type Definitions. For programmers, the book makes syntax and structures clear. Learning XML also discusses the stylesheets needed for viewing documents in the next generation of browsers, databases, and other devices.Learning XML illustrates the core XML concepts and language syntax, in addition to important related tools such as the CSS and XSL styling languages and the XLink and XPointer specifications for creating rich link structures. It includes information about three schema languages for validation: W3C Schema, Schematron, and RELAX-NG, which are gaining widespread support from people who need to validate documents but aren't (...) więcej satisfied with DTDs. Also new in this edition is a chapter on XSL-FO, a powerful formatting language for XML. If you need to wade through the acronym soup of XML and start to really use this powerful tool, Learning XML, will give you the roadmap you need. Spis treści:Learning XML, 2nd Edition
SPECIAL OFFER: Upgrade this ebook with OReilly
A Note Regarding Supplemental Files
Foreword
Preface
Whats Inside
Style Conventions
Examples
Comments and Questions
Acknowledgments
1. Introduction
1.1. What Is XML?
1.1.1. An Information Container
1.1.2. A Markup Language Toolkit
1.1.2.1. Well-formedness
1.1.2.2. Validity
1.1.2.3. Document type definitions (DTDs)
1.1.2.4. Schemas
1.1.3. An Open Standard
1.1.4. A Constellation of Standards
1.2. Where Did XML Come From?
1.2.1. History
1.2.2. The Goals of XML
1.3. What Can I Do with XML?
1.3.1. Store and Retrieve Data
1.3.2. Format Documents
1.3.2.1. CSS
1.3.2.2. Transformation to presentational formats
1.3.2.3. Transformation and formatting objects
1.3.2.4. Programming solutions
1.3.3. Ensure Data Integrity
1.3.4. Support Multiple Languages
1.4. How Do I Get Started?
1.4.1. Authoring Documents
1.4.2. Viewing Documents
1.4.3. Parsing
1.4.4. Transformation
1.4.5. Formatting for Print
1.4.6. Programming
2. Markup and Core Concepts
2.1. Tags
2.2. Documents
2.3. The Document Prolog
2.3.1. The XML Declaration
2.3.2. The Document Type Declaration
2.3.2.1. System and public identifiers
2.3.2.2. Declarations
2.4. Elements
2.4.1. Syntax
2.4.2. Attributes
2.4.3. Namespaces
2.4.4. Whitespace
2.4.5. Trees
2.5. Entities
2.5.1. Character Entities
2.5.2. Mixed-Content Entities
2.5.2.1. Internal entities
2.5.2.2. External entities
2.5.3. Unparsed Entities
2.6. Miscellaneous Markup
2.6.1. Comments
2.6.2. CDATA Sections
2.6.3. Processing Instructions
3. Modeling Information
3.1. Simple Data Storage
3.1.1. Dictionaries
3.1.2. Records
3.1.3. XML and Databases
3.2. Narrative Documents
3.2.1. Flows and Sections
3.2.2. Blocks and Inlines
3.2.3. Complex Structures
3.2.4. Metadata
3.2.5. Linked Objects
3.2.6. XHTML
3.2.7. DocBook
3.2.7.1. Notes
3.3. Complex Data
3.3.1. Elements as Objects
3.3.2. Presentation Versus Conceptual Encoding
3.4. Documents Describing Documents
3.4.1. Describing Media
3.4.2. Templates
4. Quality Control with Schemas
4.1. Basic Concepts
4.1.1. Validation
4.1.2. A History of Schema Languages
4.1.2.1. DTD
4.1.2.2. W3C XML Schema
4.1.2.3. RELAX NG
4.1.2.4. Schematron
4.1.3. Do You Need Schemas?
4.2. DTDs
4.2.1. Document Prolog
4.2.2. Declarations
4.2.3. An Example
4.2.4. Tips for Designing and Customizing DTDs
4.2.4.1. Keeping it organized
4.2.4.2. Attributes versus elements
4.2.4.3. Modularization
4.2.4.4. Importing modules from external sources
4.2.4.5. Conditional sections
4.2.4.6. Using the internal subset
4.2.5. SimpleDoc: A Narrative Example
4.3. W3C XML Schema
4.4. RELAX NG
4.4.1. Elements
4.4.1.1. Repetition
4.4.1.2. Choices
4.4.1.3. Grouping
4.4.1.4. Nonelement content descriptors
4.4.2. Data Typing
4.4.2.1. String and token
4.4.2.2. Parameters
4.4.3. Attributes
4.4.4. Namespaces
4.4.5. Name Classes
4.4.6. Named Patterns
4.4.6.1. Recursive definitions
4.4.6.2. Aggregate definitions
4.4.7. Modularity
4.4.7.1. External references
4.4.7.2. Nested grammars
4.4.7.3. Merging grammars
4.4.7.4. Overriding imported definitions
4.4.8. CensusML Example
4.5. Schematron
4.5.1. Overview
4.5.2. Abstract Rules
4.6. Schemas Compared
5. Presentation Part I: CSS
5.1. Stylesheets
5.1.1. Why We Need Them
5.1.2. How They Work
5.1.2.1. Applying properties
5.1.2.2. Client and server-side processing
5.1.2.3. Cascading styles
5.1.2.4. Associating a stylesheet to a document
5.1.3. Limitations
5.2. CSS Basics
5.2.1. The CSS Specification
5.2.2. Syntax
5.2.3. Matching Properties to Elements
5.2.4. Property Inheritance
5.2.5. Combining Stylesheets
5.3. Rule Matching
5.3.1. Elements
5.3.2. Attributes
5.3.3. Contextual Selection
5.3.3.1. Ancestry
5.3.3.2. Position
5.3.4. Resolving Property Conflicts
5.4. Properties
5.4.1. Inheritance
5.4.2. Units of Measurement
5.4.3. Display Types
5.4.4. Blockish Properties
5.4.4.1. Margins
5.4.4.2. Borders
5.4.4.3. Padding
5.4.4.4. Alignment and indentation
5.4.5. Text Properties
5.4.5.1. Font family
5.4.5.2. Font size
5.4.5.3. Line height and font size adjustment
5.4.5.4. Font style and weight
5.4.5.5. Color
5.4.6. Generated Text
5.4.6.1. Counters
5.5. Examples
6. XPath and XPointer
6.1. Nodes and Trees
6.1.1. Node Types
6.1.2. Trees and Subtrees
6.2. Finding Nodes
6.3. XPath Expressions
6.3.1. Boolean Expressions
6.3.2. Node Set Expressions
6.3.3. Numeric Expressions
6.3.4. String Expressions
6.4. XPointer
6.4.1. Syntax
6.4.1.1. Schemes and chained xpointers
6.4.1.2. Shorthand pointers
6.4.2. Points
6.4.3. Character Escaping
6.4.4. XPointer Functions
6.4.4.1. Constructing ranges
6.4.4.2. Ranges from points and nodes
6.4.4.3. Ranges from strings
6.4.4.4. Finding range endpoints
6.4.4.5. Returning points from documents
7. Transformation with XSLT
7.1. History
7.2. Concepts
7.3. Running Transformations
7.4. The stylesheet Element
7.5. Templates
7.5.1. Matching Nodes
7.5.2. Resolving Conflicts Among Rules
7.5.3. Default Rules
7.5.4. Redirecting Processing
7.5.4.1. The apply-templates instruction
7.5.4.2. The for-each instruction
7.5.5. Named Templates
7.5.5.1. The call-template directive
7.5.5.2. Parameters
7.6. Formatting
7.6.1. Setting the Output Mode
7.6.2. Outputting Node Values
7.6.3. Variables
7.6.4. Creating Nodes
7.6.4.1. Elements
7.6.4.2. Attributes and attribute sets
7.6.4.3. Text nodes
7.6.4.4. Processing instructions and comments
7.6.5. Numeric Text
7.6.6. Sorting
7.6.7. Handling Whitespace
7.6.8. Example: A Checkbook
7.6.9. Combining Stylesheets
7.6.10. Modes
8. Presentation Part II: XSL-FO
8.1. How It Works
8.1.1. Formatting
8.1.2. Formatting Objects
8.1.3. Print, Screen, and Beyond
8.1.4. Formatters
8.2. A Quick Example
8.3. The Area Model
8.3.1. Area Stacking
8.3.2. Dimensions
8.4. Formatting Objects
8.4.1. Page Layout
8.4.1.1. Page sequence masters
8.4.1.2. Page masters
8.4.2. Flows
8.4.3. Blocks
8.4.3.1. Spacing properties
8.4.3.2. Background properties
8.4.3.3. Border properties
8.4.3.4. Font properties
8.4.4. Inlines
8.4.4.1. The inline FO
8.4.4.2. Inline formatting without containment
8.4.4.3. Graphics
8.4.4.4. Generated content
8.5. An Example: TEI
8.6. A Bigger Example: DocBook
8.6.1. Page Masters
8.6.2. Page Sequence Masters
8.6.3. Top-Level Elements and Flows
8.6.4. Simple Blocks
8.6.5. Lists
8.6.6. Footnotes
8.6.7. Tables
8.6.8. Inlines
8.6.9. Results
9. Internationalization
9.1. Character Encodings
9.1.1. Specifying an Encoding
9.1.2. Basic Concepts
9.1.3. Unicode and UCS
9.1.4. Common Encodings
9.1.4.1. ISO 8859
9.1.4.2. UCS-2 and UCS-4
9.1.4.3. UTF-8
9.1.4.4. UTF-16
9.1.5. Character References
9.2. MIME and Media Types
9.3. Specifying Human Languages
9.3.1. The xml:lang Attribute and Language Codes
9.3.2. Language Support in Stylesheets
9.3.2.1. CSS and the :lang( ) pseudo-class
9.3.2.2. XSLT and the lang( ) function
10. Programming
10.1. Limitations
10.2. Streams and Events
10.3. Trees and Objects
10.4. Pull Parsing
10.5. Standard APIs
10.6. Choosing a Parser
10.7. PYX
10.8. SAX
10.8.1. Drivers
10.8.2. A Java Example: Element Counter
10.9. DOM
10.9.1. Class Interface Reference
10.9.1.1. Document
10.9.1.1.1. Properties
10.9.1.1.2. Methods
10.9.1.2. DocumentFragment
10.9.1.3. DocumentType
10.9.1.3.1. Properties
10.9.1.4. Node
10.9.1.4.1. Properties
10.9.1.4.2. Methods
10.9.1.5. NodeList
10.9.1.5.1. Properties
10.9.1.5.2. Methods
10.9.1.6. NamedNodeMap
10.9.1.6.1. Properties
10.9.1.6.2. Methods
10.9.1.7. CharacterData
10.9.1.7.1. Properties
10.9.1.7.2. Methods
10.9.1.8. Element
10.9.1.8.1. Properties
10.9.1.8.2. Methods
10.9.1.9. Attr
10.9.1.9.1. Properties
10.9.1.10. Text
10.9.1.10.1. Methods
10.9.1.11. CDATASection
10.9.1.12. ProcessingInstruction
10.9.1.12.1. Properties
10.9.1.13. Comment
10.9.1.14. EntityReference
10.9.1.15. Entity
10.9.1.15.1. Properties
10.9.1.16. Notation
10.9.1.16.1. Properties
10.9.2. An Example in Perl
10.10. Other Options
10.10.1. XPath as API
10.10.2. JDOM
10.10.3. Hybrids
10.10.4. Data Binding
A. Resources
A.1. Online
A.2. Books
A.3. Standards Organizations
A.4. Tools
A.5. Miscellaneous
B. A Taxonomy of Standards
B.1. Markup and Structure
XML 1.0
XML 1.1
Namespaces in XML
Namespaces in XML 1.1
W3C XML Schema
RELAX NG
Schematron
B.2. Linking
XLink
XML Base
XInclude
B.3. Addressing and Querying
XPath
XPointer
XQuery
B.4. Style and Transformation
CSS
XSL
XSLT
B.5. Programming
DOM
SAX
Canonical XML
XML Signature
B.6. Publishing
DocBook
B.7. Hypertext
XHTML
HTML
B.8. Descriptive/Procedural
SOAP
RDF
B.9. Multimedia
SVG
SMIL
B.10. Science
MathML
Glossary
Index
About the Author
Colophon
SPECIAL OFFER: Upgrade this ebook with OReilly mniej
Learning XML. 2nd Edition (e-book) - Opinie i recenzje
Na liście znajdują się opinie, które zostały zweryfikowane (potwierdzone zakupem) i oznaczone są one zielonym znakiem Zaufanych Opinii. Opinie niezweryfikowane nie posiadają wskazanego oznaczenia.