Java SE 8: XML Processing Fundamentals
XML is used in many systems for integrating within an organization or across them. This course will teach you how to read and write documents using the various APIs available in Java, as well as cover document querying and validations.
What you'll learn
XML is a standard for storing data and integrating systems within and between organizations. In this course, Java SE: XML Processing Fundamentals, you'll learn the basics of reading and writing XML documents using all the various APIs available. First, you'll discover the tradeoffs between each - understanding which options offer better memory efficiency versus processing control. Next, you'll learn that systems working together need to ensure the data being passed is valid. Finally, you'll explore how to create XML schemas to provide documentation of allowable elements and use them to perform validations while reading documents. By the end of this course, you'll have a solid understanding how to query into documents to efficiently find subsets of data often needed when working with XML.
Table of contents
- Module Overview 1m
- How DOM Works 2m
- Stream Processing 4m
- Push Stream Part 1 - Basic Element Processing 5m
- Push Stream Part 2 - Splitting up Your Handler 1m
- Push Stream Part 3 - Handling Customer Elements 4m
- Push Stream Part 4 - Handler per Type Approach 2m
- Push Stream Part 5 - Handling Address Elements 7m
- Pull Stream Part 1 - Basic Element Processing 4m
- Pull Stream Part 2 - Handling Customer Elements 4m
- Pull Stream Part 3 - Handling Address Elements 3m
- Document Processing Challenges 9m
- Large Document Processing Options 2m
- Summary 1m
- Module Overview 1m
- Writing with DOM Concepts 4m
- Creating with DOM Part 1 - Creating the Root Element 5m
- Creating with DOM Part 2 - Adding Customer Data Elements 5m
- Creating with DOM Part 3 - Refactoring to Helpers 2m
- Creating with DOM Part 4 - Adding Address Data Elements 2m
- Creating with DOM Part 5 - Writing the Document to File 2m
- Creating with StAX Part 1- Creating the Root Element 4m
- Creating with StAX Part 2 - Adding Customer Data Elements 3m
- Creating with StAX Part 3 - Adding Address Data Elements 2m
- Creating with StAX Part 4 - Writing the Document to File 2m
- XSL Transformations with a DOM Source 6m
- XSL Transformations with a Stream Source 2m
- Summary 1m
- Module Overview 1m
- Why XML Validations Are Powerful 4m
- Defining a Basic Schema 5m
- Executing Validations with DOM 3m
- Summarizing the Core Structural Aspects of Schemas 6m
- Namespace Validation and Structural Options 4m
- Moving from Element Definitions to Types 4m
- When the Schema Def is Namespaced 2m
- Leveraging Multiple Namespaces 5m
- Custom Data Type Validations 6m
- Summarizing Custom Data Type Validations 2m
- Validations with StAX 6m
- Summary 1m
- Module Overview 1m
- XPath Basics 6m
- Finding All Customers with XPath 2m
- Querying for Specific Customers 3m
- Reading Field Values 5m
- Handling Documents with Namespaces 2m
- Querying Documents with Namespaces 4m
- XPath Functions 2m
- Custom Functions and Variables 1m
- Using Functions to Count Addresses 1m
- Summary 1m