Introduction to XML for Developers — A 3-day course
Synopsis
XML has become popular as a way of representing, transmitting and storing data in a platform and application independent format. This course provides an in-depth introduction to what XML is, how it is structured, and how to use it.
This is a hands on course with about 30 to 40% of the course time devoted to hands on exercises. These exercises will not involve programming, but, rather the use of Altova's XML-Spy tool for creation of XML documents, DTDs, and for experimenting with XPath, XPointer and XSLT stylesheets.
Suitable For
- Developers who want to know how XML works: how to create XML documents, how to validate them, and how to transform them using stylesheets.
Prerequisites
- None
Publicly scheduled dates, locations, and prices
A schedule of dates for this course is not currently available. Please call 0800 651 0338 or use our contact form to enquire about places and availability.
Contents
Introduction
- What is XML?
- XML, XHTML and HTML
- Uses of XML
XML Foundations
- Document structure
- XML declaration
- Processing instructions
- Elements
- The Root Element
- Attributes
- CDATA and escaping special characters
Namespaces in XML
- The need for namespaces
- Defining namespaces
- Default namespaces
- Using namespaces correctly
Document Validation with DTDs
- What is a DTD?
- Referencing DTDs in documents - defining inline
- Using external DTDs (public and system)
- Validating elements
- Validating attributes
- Defining and using entities in DTDs
Document Validation with XML Schema
- What is a schema?
- Schemas and DTDs
- Creating a schema
- Associating schemas with elements
- Simple and complex types
- Built-in types
- Defining complex types
- Structuring schema documents
XPath
- What is XPath?
- Locating elements and attributes
- Axes
- Using predicates
- Functions
XSL
- What is XSL?
- Creating stylesheet
- Defining templates
- Built-in template rules
- Selecting elements and attributes
- Structuring stylesheets: if, choose and for-each
- Calling templates
- Parameters and variables
