Course Content
Introduction and Overview
- Why XML ?
- Extending and Adopting Markup Languages.
- From SGML to XML and XHTML.
- Benefits and drawbacks of XML.
- Notation and Meta-Language.
XML Fundamentals
- Creating and XML document.
- Defining the structure.
- Rules for well - formed and valid - XML.
- Changing XML documents.
- The Servlet interface
- The life cycle methods - init (), service () & destroy () methods.
- How a Servlet handles the request ?
- Retrieving the Servlet thread.
- Constructors in a Servlet.
XML Syntax
- Tag attributes and naming rules.
- Empty and non-empty elements.
- Processing instructions for XML.
- Accessing data from XML elements.
XML Document Type Definition (DTD)
- The XML DTD as a XML Schema.
- Creating a DTD.
- Element Conditions and Quantifiers.
- Referencing DTD declarations.
- Validating DTD compliance.
XML Schema Definitions (XSD)
- Element and attribute declarations.
- Simple, complex and built-in types.
- Named and ananymous types.
- Associating XML with a schema.
- Validating XSD compliance.
XPath
- XPath in XSLT
- XPath Expression
- XPath Terminology
- Context Node
- Current Node
- Context Size
- Proximity Position
- Location Paths
- Axis
- Node Test
- Predicate
- Accessing Nodes
- Abbreviated Syntax
- XPath Functions
- XPath Operators
Publishing XML
- Stylesheet languages.
- Using Style Sheets with XML.
Parsing XML in Java
- What is a parser ?
- Using an XML parser.
- Parsers and XML generators.
- Accessing Document Object Model (DOM).