Herong's Tutorial Notes On XML Technologies
Dr. Herong Yang, Version 3.04
Herong's Tutorial Notes On XML Technologies
Version 3.04
Dr. Herong Yang

Table of Contents

About This Book

Introduction to XML

  • What Is XML
  • Features of XML

XML Syntax

  • Types of Information in XML Files
  • XML File Syntax Rules
  • The "xml" Processing Instruction
  • dictionary.xml - A Simple XML File

XML Browsers

  • Using Internet Explorer as an XML Browser
  • Using Internet Explorer as an XML Syntax Checker
  • Other XML Browsers

Document Object Model (DOM)

  • What is Document Object Model (DOM)
  • Parsing XML Files with DOM
  • The DOM Tree Structure
  • Building a New DOM Document
  • Converting DOM Documents to XML Files

Simple API for XML (SAX)

  • What is Simple API for XML (SAX)
  • SAX Implementations in J2SDK
  • SAX Content Handler Interface
  • My SAX Based XML Browser

Document Type Definition (DTD)

  • What is Document Type Definition (DTD)
  • XML Files Linked to External DTD Files
  • Validating XML Files Against DTD Statements

DTD Syntax

  • DOCTYPE Declaration Statement
  • ELEMENT Declaration Statement
  • ATTLIST Declaration Statement
  • ENTITY Declaration Statement
  • Sample XML File with DTD Statements - dictionary_dtd.xml

DTD Validation in Java

  • Validation with DOM
  • Validation with SAX

XML Schema Definition (XSD)

  • What is XML Schema Definition (XSD)
  • "Hello world!" Example of XSD
  • Validating XML Files Against XSD Files

XSD Syntax

  • Simple XML Elements with Pre-defined Data Types
  • Simple XML Elements with Extended Data Types
  • Complex XML Elements
  • Simple Content XML Elements
  • Empty XML Elements
  • Anomymous Data Types
  • Sample XSD File - dictionary.xsd

XSD Validation in Java

  • Validation with XMLReader
  • Using SAXParserFactory to Load Parsers

eXtensible Style Language (XSL)

  • What is eXtensible Style Language (XSL)
  • "Hello world!" Example of XSL

XSL - Declaring and Applying Templates

  • The "stylesheet" Element
  • The "template" Element
  • The "apply-templates" Element
  • How XSL Transformation Gets Started?
  • Default Transformation Template
  • Transformation Chains

XSL - Getting Values Out Of Source Elements

  • The "value-of" Element
  • The "for-each" Element
  • The "if" Element
  • The "choose" Element

XSL - Transformer in Java

  • XSL Implementations in J2SDK
  • A Simple XSL Transformer Program

XML Path Language (XPath)

  • What is XML Path Language (XPath)
  • Data Types, Literals and Variables
  • Evaluation Context
  • Build-in Functions
  • Expressions and Location Paths
  • Using XPath in XSL Templates

XSL - Formatting Output

  • The "output" Element
  • Formatting Output in XML Format

References

Key Words: Book, DOM, DTD, Example, J2SDK, Java, SAX, Syntax, Templates, Tutorial, XML, XPath, XSD, XSL, XSLT, XSL-FO

Dr. Herong Yang, updated in 2006
Herong's Tutorial Notes On XML Technologies - Table of Contents