Skip to main content





Advanced Python
After Effects Basic-Intermediate
Angular Beginner Course
Angular Bootcamp MVC
Building a RESTful API with Laravel
Front End Web Developer
Introduction to Moodle
Introduction to Programming Using Groovy
Introduction to Programming using Python
Java Bootcamp
Java Enterprise Edition
Laravel Bootcamp
Laravel Intermediate
Laravel Introduction
Microsoft Power BI Boot Camp
Microsoft PowerBI Dashboard User Course
Perl Fundamentals
Programming with C#
Python for Engineers and Scientists
Python Programming
Web Developer
XML Web Services


Kirstin S Bosworth
LGIT Trainer
Mark Badham


XML - eXtensible Markup Language is a family of standardized data formats. XML is used for data transmission and storage. Common applications of XML include business to business transactions, web services and other aspects of web applications, news feeds, POD casts and office document formats.

You will learn the XML language structure and how to code it by hand as well as with productivity tools. You will understand Document Type Definitions (DTDs) and XML Schemas with XML namespaces. Other topics include: XMLPath, CSS, XSLT and the XML DOM.

Delivery Methods

Leading Training is focusing on providing virtual training courses for the foreseeable future and will only consider in-person and classroom training on request, with a required minimum group size of six delegates. We remain committed to offering training that is fast, focused and effective.

Delivery Method Duration Price (excl. VAT)
Classroom 2 Days ZAR 5,500.00 Get a Quote
Live Virtual Training 2 Days ZAR 4,500.00 Get a Quote

Discounts Available

Save up to 10% by booking and paying 10 business days before the course.


Download Brochure

Information may change without notice.


Web Designers/Developers, Java Enterprise Edition and Dot Net programers, Users of tools that perform document translation like Microsoft Biztalk.



Course Outline / Curriculum

  1. 1. Introduction to XML -------------------------------------------------------------------7
    Need for XML
    Goals of XML
    Writing XML document

    XML is case-sensitive

    The Root Element

    Well-formed XML Document

    No unclosed Tags

    No Overlapping Tags

    Rules for Attribute Values
    Structures of XML Document
    Displaying XML documents
    Benefits of XML

    2. Well-Formed XML Documents -----------------------------------------------------35


    Simple XML Document

    Creating a Simple XML Document

    Saving the XML File

    Loading the XML File into a Web Browser

    Exploring the Simple XML Document

    Assigning Meaning to XML Tags

    Writing a Style Sheet for an XML Document

    Attaching a Style Sheet to an XML Document

    A Well-formed XML document


    The Document Element

    XML Elements



    Processing Instructions

    CDATA sections

    Basic XML Rules

    3. Creating Document Type Definition DTD’s--------------------------------------68
    Valid Documents
    XML Validating Parsers
    Types of DTD's
    Exercise 3:1:Internal DTD subset
    Exploring the document
    External DTD subset
    Declaring Elements
    Empty Elements
    Elements with only character data
    Elements with any contents
    Elements with children (sequences)
    Declaring only one occurrence of the same element
    Declaring minimum one occurrence of the same element
    Declaring zero or more occurrences of the same element
    Declaring zero or one occurrences of the same element
    Declaring either/or content
    Declaring mixed content
    Attribute Declaration
    Attribute declaration example
    Default attribute value
    Implied attribute
    Required attribute
    Fixed attribute value
    Enumerated attribute values
    Parsed Entity
    Exercise 3:2:Parsed Entity
    Unparsed Entity
    Predefined Entities
    Internal and External Entities
    Exercise 3:3 Unparsed Entity

    4. Introduction to XML Schema -----------------------------------------------------110
    XML Schema
    Need of Schemas
    Simple XML Schema Example
    Comparison of DTD and Schema
    Uniform Resource Identifier (URI)
    XML Schema Example
    More on Schema

    5. XSL Transformation ----------------------------------------------------------------130
    XSL (eXtensible Stylesheet Language)
    XSLT - XSL Transformations
    Exercise 5:1: A simple XSLT example
    XSL Templates
    The xsl:stylesheet element
    The xsl:template Element and match attribute
    The xsl:apply-template Element and select attribute
    Exercise 5:2 : Using xsl:template and xsl:apply-templates
    The xsl:value-of element
    The xsl:for-each element
    Exercise 5:3 : Using xsl:for-each and xsl:value-of
    Matching Nodes
    Matching the root node using the value "/"
    Matching the Children of a particular node
    Matching the descendants
    Exercise 5:4: Matching root element
    Applying a particular style to a single element
    XSL Sorting
    Using the order-by attribute
    Exercise 5:5 : Sorting using order-by attribute
    Using xsl:sort element
    Exercise 5:6 : Sorting using xsl:sort element.
    XSL Filtering
    Using xsl:if element
    Exercise 5:7 : Using xsl:if element.
    Using xsl:choose element
    Exercise 5:8 : Using xsl:choose element
    Merging the multiple style sheets

    6. Data Source Objects (DSO)---------------------------------------------------------182


    Accessing a Single Record through DSO

    Properties and its Actions

    Exercise 6:1:Accessing a single Record.

    Checking for XML Errors

    Accessing all Records

    Exercise 6:2: Accessing all Records.

    XML Data Islands

    Working with the inline XML data islands

    Exercise 6:3:inline XML data islands

    Working with Linked XML Data Islands

    Exercise 6:4:Linked XML Data Islands

    Advantages of Data Islands

    Disadvantages of Data Islands

    Displaying Hierarchical Recordset

    Exercise 6:5:Displaying Hierarchical Recordset

    Working with XML attributes

    Exercise 6:6:Working with XML attributes

Schedule Dates and Booking

There are currently no scheduled dates.

Please note that this course needs a minimum of 6 delegates to schedule a course. You can choose to be added to the waiting list by clicking the button below, and we will contact you when we have enough delegates interested. Should we not get enough delegates, we will refund or credit your paid booking.

Add me to the waiting list

Should you need this course urgently, the following options are available:

  1. Pay for 6 delegates (whether you have them or not) and we will schedule the course as soon as possible.
  2. If you have fewer delegates and cannot pay for 6, we can negotiate a shortened course where some of the time will be spent in blended learning - watching videos and doing tutorials and exercises with some contact time with the trainer. We would want to discuss what your core needs are so that we cover those aspects. You need to have paid for 3 delegates at least.
Submit Enquiry