XML and Java

This course teaches XML using the Oxygen XML Editor. XML Processing using Java techniques optionally included.

– XML
    – Installing and understanding the Oxygen XML Tool
    – How is XML different from HTML?
    – How to describe information using XML
    – Things to know about XML:
        – Syntax
        – Validity
            – Well Formed
            – Conforms to XML rules (DTDs and Schemas)
        – Namespaces
        – Practice
            – Practice – Use Oxygen to define and create an XML file.
    – What is the XML DOM?
        – Traversing
        – Manipulating
        – Creating Content
            – Oxygen Exercise 1: Creating XML files
            – Oxygen Exercise 2: Working with XML in the editor
    – Making your XML Look Nice
        – Adding CSS to XML
    – Navigating into an XML document using XPath
        – Defining paths into an XML document
        – Used extensively in XSLT (next section)
            – Exercise: Use Oxygen’s built-in XPath Support.
    – Adding power to XML: XSLT
        – Conditional logic using XSLT
            – XSL tags
                – xsl:template-match
                – xsl:text
                – xsl:variable
                – xsl:when
                – xsl:otherwise
                – xsl:choose
                – xsl:for-each
        – Sort XML?
            – Exercise: Use Oxygen’s XSLT editor, validation, and
              debugger
    – DTDs
        – Why use DTDs?
        – Attributes
        – Elements
        – Exercise: Use Oxygen to validate an XML document using a DTD
    – Schemas?
        – Why use Schemas?
        – Namespaces
        – Elements
        – Attributes
            – Exercise 1: Use Oxygen to validate an XML document using
              a Schema
            – Exercise 2: Use Oxygen to create sample XML documents
              using a Schema
            – Exercise 3: Use Oxygen to create a schema given an XML
              document
    – XQuery
        – XQuery combines documents, databases, Web pages and other
          conten. XQuery is widely used.
        – Class example: Some examples of using XQuery in Oxygen
    – Databases
        – Using Oxygen’s “Data Source Explorer” we can import data from
          Enterprise databases as XML right into Oxygen
            – Creating a data source connection
                – Examples
            – Time/interest permitting, student examples.
    – Optional: XML Java Clinic:
– Java code clinic shows how to read and write XML documents with Java.
    – How would you handle XML content using DOM techniques?
        – Using DOM methods
        – Using JDOM2
    – Using XPATH in Java (and using JDOM 2 with XPATH)
    – Using XPATH and XSLT in Java
    – Using JAXB and Simple XML APIs

——–

Please read our disclaimer available from our home page