This comprehensive course provides a full tour of the most prevalent XML standards, and introductory-to-intermediate training in each: XML itself, XML Schema, XSLT, and XSLFO. This is a great fit for students who are planning to work extensively with XML in the near future, as it gives a good grounding in how to manage XML information, define XML models (using XML Schema), transform XML information to text, HTML, or other XML formats (using XSLT), or to print-ready PDFs (using XSLFO).
Learning Objectives
- Understand the broad influence of XML on emerging software architectures.
- Understand the roles of XML Schema, XPath, XSLT, XSLFO, parsing APIs, and Web services in the broader scope of XML technology in software applications.
- Write well-formed XML documents to express simple or complex document content.
- Write DTDs to set rules for XML document validation.
- Read and write XML using namespaces to import type information and to partition the XML namespace.
- Use XML Schema to validate XML documents.
- Define simple types, and use value restrictions and enumerations to constrain values.
- Create complex types, including simple types and other complex types, and empty- and mixed-content types.
- Write simple and complex queries into XML document content using XPath.
- Transform XML data into plain text, HTML, or XML formats.
- Describe the relationship between XSLT and XSLFO, and their roles in the typical XML-to-print production process.
- Transform XML data into FO documents, and format those into PDFs.
Course Features
- Lecture 0
- Quiz 0
- Duration 5 Days
- Skill level All levels
- Language English
- Students 0
- Assessments Yes
Module 1 Introduction to XML
- A Brief History of XML
- Birth of XML
- Content vs. Presentation
- Self-Describing Data
- A Standard Document Format
- Uses for XML
- XML Grammar
- Structure of an XML Document
- Handling Whitespace
- Character and Entity References
- Well-Formed XML
- Elements
- Attributes
- Processing Instructions
- Comments
- CDATA Sections
- Valid XML
- Document Types
- DTD Structure
- Defining Elements
- Cardinality
- Attributes
- Required, Implied, Default, and Fixed Attributes
- Enumerations
- XML Namespaces
- Limitations of DTDs
- XML Schema
- Advantages of XML Schema
- Data Types
- Using XML in Applications
- SAX and DOM Parsing
- XSLT
- XPath
- XSL-FO
- Web Services
- SOAP
Module 2. XML Schema
- Getting Started with XML Schema
- What is an XML schema?
- Schemas vs. DTDs
- Structure of a Schema
- Associating Schema with Documents
- Types of Types
- Defining Elements
- Defining Complex Types
- Validation
- Simple Types
- Simple and Atomic Types
- Built-In Types
- Primitives
- Numeric Derived Types
- String Derived Types
- Simple Type Restriction
- Facets
- Enumerations
- Patterns
- Lists
- Unions
- Nillable Values
- Complex Types
- Model Groups
- Sequences, Conjunctions, and Disjunctions
- Particles
- Occurrence Constraints
- Global and Local Definitions
- Defining Attributes
- Empty, Any, and Mixed Content
- Model Group Definitions
- Attribute Group Definitions
- Annotations
Module 3. XSLT
- Getting Started with XSLT
- XSL and XSLT
- Rule-Based Transformations
- Templates
- Producing Text, HTML, and XML
- XPath
- Addressing XML Content
- XPath in XSLT
- Tree Structure
- XPath Expressions
- Type Model
- Context
- Axis, Node Test, and Predicate
- Abbreviations
- Proximity Position
- XPath Functions
- Comparisons Between Various Types
- Templates and Production
- Template Matching
- Built-In Template Rules
- Recursion Through Templates
- Template Context
- Output Methods
- Controlling Whitespace
- Literal Replacement Elements
- Formalizing Text, Elements and Attributes
- Defining Target Vocabulary
- Generating Processing Instructions
- Dynamic Content and Flow Control
- Deriving Source Content
- Getting Source Values
- Attribute Value Templates
- Copying Source Elements and Trees
- Looping
- Conditionals
- Variables and Template Management
- Variables
- Using Variables to Capture Context Information
- Result Tree Fragments
- Parameters
- Calling Templates Explicitly
- Global Variables and Stylesheet Parameters
- Template Modes
Module 4. XSLFO
- Getting Started
- Formatting XML
- XSLT and XSLFO
- Flow of Information
- Formatting Objects
- Properties
- Page Masters
- Pages and Areas
- The Page-Master Model
- Regions
- Writing Mode and Orientation
- The Page-Sequence Model
- Flows
- Page-Sequence Masters
- Properties and the Inheritance Model
- Formatting
- Flows
- Blocks and Layout Options
- Inlines and Layout Options
- Lists
- Tables
- Controlling Pagination
- Formatting
- Page Numbering
- Identifying Content
- Page-Number Citations
- Links
- Tables of Contents