FreeBeginnerWeb development

XML: The Complete Course

Write, read, query, transform and validate XML: syntax, DOM, XPath, XSLT, DTD and XML Schema.

30 lessons≈ 8 hInstructor: Ngahtech AcademyUpdated 22 November 2026

What you will learn

  • Write well-formed XML with elements, attributes and namespaces
  • Read, search and change XML with the DOM in JavaScript
  • Query documents with XPath
  • Transform XML into HTML and other formats with XSLT
  • Validate documents with DTDs and XML Schema
  • Use XML in practice: Python, RSS, SVG, configuration files

A complete, free 30-lesson XML course: XML syntax and namespaces, reading and changing XML with JavaScript, XPath queries, XSLT transformations, DTD and XML Schema validation, XML in Python, RSS and SVG, and XML versus JSON, with two projects.

Every lesson has a Try it yourself editor: JavaScript examples run in the page, and XSLT, validation and Python examples run real Python with lxml in your browser.

Requirements

  • HTML basics (see the HTML course); JavaScript basics help for module 2
  • A computer or smartphone with a web browser

Curriculum

Module 1: XML basics 6 lessons
Module 2: XML and JavaScript 5 lessons
Module 3: XPath 4 lessons
Module 4: XSLT 4 lessons
Module 5: Validation with DTD and XML Schema 4 lessons
Module 6: XML in practice 5 lessons
Module 7: Projects 2 lessons

Reviews

No reviews yet.