Home Contact Resources Training Profile Clients Careers


Java with XML


Length: 3 days
CourseID: jxml



Prerequisites:

Participants should have Java development background. Familiarity XML is helpful. A successful student comes to this class having completed the Intro java class as well as having java development experience.


Overview:

The Java programming language integrates XML Parsing into the API. This API is introduced and Java standard approaches to manipulating XML are introduced. Student will walk away with an ability to generate and parse XML in Java applications.


Objectives:

  • Learn XML features of the Java Programming Language
  • Build and use SAX XML Parsers
  • Build and use DOM XML Parsers
  • Build and use JDOM XML Parsers
  • Persist data as XML
  • Validate XML Data
  • Transform XML with XSLT

  • Chapters:


    Introduction to XML

    XML Standards XML Support with Java
    XML Syntax DTDs
    Schemas Parsers
    JAXP

    Parsing XML with SAX

    What is SAX Document Components
    Building a Simple Parser Handling SAX Events
    Handling Exceptions SAX Parser Attributes

    Parsing with DOM

    What is DOM DOM Components
    DOM Structure Building the Parser
    Setting Options Parsing XML
    DOM Limitations

    Building DOM Trees

    Introducing DOM building Building the basic Tree
    Adding child elements Adding Attributes
    Defining Entities Adding validation information
    Outputting DOM

    Validating XML

    DTD Validation DTD Components
    Schema Validation Schema Components
    Whitespace Management Configuring the Parser
    Parser Exceptions

    Integrating XML

    JDOM History JDOM Parsing
    JDOM Components Building the Parser
    Features of JDOM XSLT and the Parser
    Outputting JDOM documents