Unit: XML and Java (Intermediate Track)


Unit Identifier: IN2002-2

Unit Overview:

This unit illustrates how XML and Java work together to achieve many goals. Java will be used to parse XML sequentially (SAX) and in a hierarchy format (DOM). JAXP will then be used to determine the parsing method. The unit uses Java heavily and may be tailored to use the JDK, VisualAge for JAVA, or Visual Café. This unit includes many examples and exercises to strongly illustrate how to use XML and Java together.

Unit Duration: 20 hours

Unit Objectives:

Students will learn how XML and Java interrelate. They will also learn to parse in both sequential and hierarchical formats.

  • Understand how XML and Java work together
  • Set up a parser to work with Java
  • Parse XML files with SAX
  • Parse XML files with DOM
  • Understand XML Translations using XSLT

Unit Outline:

  1. XML Documents
    • XML Basics
    • Document Structure
    • NameSpaces

  2. XML Schemas and DTD
    • Data Constraints
    • Common DTD/Schema Constructs
    • DTD v Schemas
    • Validating XL Documents

  3. Java APIs for XML processing
    • Overview of SAX
    • Overview of DOM
    • Overview of JAXP

  4. SAX Parsing
    • Setting up Java to use SAX
    • How do I use the SAX parser
    • Building an application using SAX

  5. DOM Parsing
    • Setting up Java to use DOM
    • How do I use he DOM parser
    • Building an application using DOM

  6. Document Transformation
    • What is XSL/XSLT
    • What is a style sheet?
    • Why XSLT?

  7. XSLT: How it works
    • XML Tree Structure
    • Templates
    • Fundamentals of a Style Sheet

  8. XPATH
    • What is XPATH?
    • Locating document elements
    • Advanced XPATH Expressions
    • Uses for XPATH
    • XPATH and Java

  9. Extended Style Sheets
    • XSLT Elements
    • XSLT Functions
    • XPATH Functions

  10. Java and XML processing on the Web
    • Web publishing frameworks
    • Servlets to process XML

  11. XML Future Directions
    • SOAP and Web Services
    • JDK 1.4 and XML


For More Information Contact:
Tod Pryor at training@prioritytech.com
402-445-4747, or toll free at 1-866-PTI-CORP ext. 4747

Site Map  |  Contact Us

Copyright © 2008 Priority Technologies, Inc. - All rights reserved.