Training Capstone Courseware

Training goals dlearning

code: CC-542 | version: v6.0

This four-day course builds skills in Java's XML processing APIs. The course is intended for students with a working knowledge of XML -- and possibly DTDs or XML Schema -- who want to build XML applications or components using the Java language. Everything in the course adheres to W3C and Java standards for completely portable code.

The course comprises three modules, which treat XML parsing, XML transformations, and XML binding. The first module introduces the Java API for XML Processing (JAXP) and the two main Java APIs for parsing XML documents: SAX and the DOM. Students learn the basic JAXP architecture and how to create parsers that expose SAX or DOM APIs, and how to configure parsers according to the SAX features and properties specification. SAX parsing gives way to reading and writing document information using the DOM tree model and API.

The second module introduces students to the XPath and XSLT specifications, and how to use JAXP as an interface to XML addressing and transformations. Students learn the JAXP's innovative system of Transformers, Sources, and Results; develop fluency in the exacting but powerful XPath syntax; and then build a number of XSLT transformations.

The third module introduces the newer and more powerful Java API for XML Binding, or JAXB, in its current incarnation, which is version 2.1. JAXB is now emerging as the tool of choice for most XML processing tasks where an XML Schema is available or easy to derive: based on that schema, JAXB-generated types can make it quite easy to read, manipulate, and write XML information models.

Conspect Show list

Module 1. XML Parsing Using Java

  1. Chapter 1. The Java API for XML Processing (JAXP)
    • Parsing XML
    • SAX and DOM
    • What the W3C Says
    • What the W3C Doesn't Say
    • Sun and Apache
    • JAXP
    • Parser Factories
    • Pluggable Parsers
    • Parser Features and Properties
  2. Chapter 2. The Simple API for XML (SAX)
    • Origins of SAX
    • The SAX Parser
    • The SAX Event Model
    • Reading Document Content
    • Handling Namespaces
    • SAX Features for Namespaces
    • Parsing Attributes
    • Error Handling
    • DTD Validation
    • Schema Validation
    • Handling Processing Instructions
  3. Chapter 3. The Document Object Model (DOM)
    • Origins of the DOM
    • DOM Levels
    • DOM2 Structure
    • The Document Builder
    • DOM Tree Model
    • DOM Interfaces
    • Document, Node and NodeList Interfaces
    • Element and Text Interfaces
    • Finding Elements By Name
    • Walking the Child List
    • The Attribute Interface
    • Traversing Associations
    • The JAXP Transformer Class
    • Sources and Results
    • Combining SAX and DOM Processing
    • Namespaces and the DOM
  4. Chapter 4. Manipulating XML Information with the DOM
    • Modifying Documents
    • Modifying Elements
    • Modifying Attributes
    • Managing Children
    • Seeking a Document Location
    • The ProcessingInstruction Interface
    • Creating New Documents

Module 2. XML Transformations Using Java

  1. Chapter 1. Using the JAXP for Transformations
    • XPath, XSLT and Java
    • The Transformer Class
    • The TransformerFactory Class
    • Sources and Results
    • Identity Transformations
    • Creating Transformations from Stylesheets
    • Template Parameters
    • Output Methods and Properties
    • Evaluating XPath Expressions
  2. Chapter 2. XPath
    • Use of XPath in Other XML Technologies
    • XPath Expressions
    • The Axis
    • The Node Test
    • The Predicate
    • XPath Types
    • XPath Functions
    • Implied Context
    • Querying with XPath
    • XPath and the DOM
  3. Chapter 3. Templates and Production
    • Rule-Based Transformations
    • Templates and 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
  4. Chapter 4. XSLT: Dynamic Content and Flow Control
    • Web Applications Using XSLT
    • J2EE and JAXP
    • Deriving Source Content
    • Getting Source Values
    • Attribute Value Templates
    • Copying Source Elements and Trees
    • Looping
    • Conditionals

Module 3. The Java API for XML Binding

  1. Chapter 1. The Java API for XML Binding
    • The Need for Data Binding
    • XML Schema
    • Two Paths
    • JAXB Compilation
    • Mapping Schema Types to Java
    • Java-to-XML Mapping Using Annotations
    • Marshaling and Unmarshaling
    • Working with JAXB Object Models

Appendix A. Learning Resources

Appendix B. Quick Reference: W3C Namespaces

Download conspect training as PDF

Additional information

Requirements
  • Experience in Java Programming, including object-oriented Java and the Java streams model, is essential - Course 103 is excellent preparation.
  • Basic understanding of XML is required - Course 501 is recommended.
  • XML Schema is used peripherally in the course, and knowledge of this technology will be helpful, but is not required.
Difficulty level
Duration 4 days
Certificate

The participants will obtain certificates signed by Capstone Courseware.

Trainer

Authorized Capstone Courseware Trainer.

Other training Capstone Courseware | XML and Web Services

Training thematically related

Programming

Java

Contact form

Please fill form below to obtain more info about this training.







* Fields marked with (*) are required !!!

Information on data processing by Compendium - Centrum Edukacyjne Spółka z o.o.

940 EUR

close

Discount codes

Discount code may refer to (training, producer, deadline). If you have a discount code, enter it in the appropriate field.
(green means entering the correct code | red means the code is incorrect)

FORM OF TRAINING ?

close

Traditional training

Sessions organised at Compendium CE are usually held in our locations in Kraków and Warsaw, but also in venues designated by the client. The group participating in training meets at a specific place and specific time with a coach and actively participates in laboratory sessions.

Dlearning training

You may participate from at any place in the world. It is sufficient to have a computer (or, actually a tablet, or smartphone) connected to the Internet. Compendium CE provides each Distance Learning training participant with adequate software enabling connection to the Data Center. For more information, please visit dlearning.eu site

TRAINING MATERIALS ?

close

Paper materials

Traditional Materials: The price includes standard materials issued in the form of paper books, printed or other, depending on the arrangements with the manufacturer.

Ctab materials

Ctab materials: the price includes ctab tablet and electronic training materials or traditional training materials and supplies provided electronically according to manufacturer's specifications (in PDF or EPUB form). The materials provided are adapted for display on ctab tablets. For more information, check out the ctab website.

 

SELECT TERM TRAINING

No deadlines for this training.

Suggest your own appointment

Upcoming Capstone Courseware training

Training schedule
Capstone Courseware