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
- 1. What is XML?Free preview 10 min
- 2. Syntax rulesFree preview 15 min
- 3. Elements and attributesFree preview 15 min
- 4. NamespacesFree preview 15 min
- 5. Entities, encoding and displaying XMLFree preview 10 min
- 6. Designing XML documentsFree preview 15 min
Module 2: XML and JavaScript 5 lessons
- 7. Parsing XML with DOMParserFree preview 15 min
- 8. Navigating the XML DOMFree preview 15 min
- 9. Changing XML documentsFree preview 15 min
- 10. Serializing XMLFree preview 10 min
- 11. Loading XML with fetchFree preview 15 min
Module 3: XPath 4 lessons
- 12. XPath pathsFree preview 15 min
- 13. XPath predicatesFree preview 15 min
- 14. XPath axes and functionsFree preview 15 min
- 15. XPath in JavaScriptFree preview 10 min
Module 4: XSLT 4 lessons
- 16. What is XSLT?Free preview 15 min
- 17. Loops and sorting: for-each and sortFree preview 15 min
- 18. Conditions: if and chooseFree preview 10 min
- 19. Templates and apply-templatesFree preview 15 min
Module 5: Validation with DTD and XML Schema 4 lessons
- 20. Valid XML and DTDsFree preview 15 min
- 21. XML Schema basicsFree preview 20 min
- 22. Schema types and restrictionsFree preview 15 min
- 23. Validating in practiceFree preview 10 min
Module 6: XML in practice 5 lessons
- 24. XML in Python with ElementTreeFree preview 15 min
- 25. RSS feedsFree preview 15 min
- 26. SVG: images written in XMLFree preview 15 min
- 27. XML versus JSONFree preview 10 min
- 28. XML in configuration and web servicesFree preview 10 min
Module 7: Projects 2 lessons
- 29. Project: a school catalogue reportFree preview 30 min
- 30. Final project: exchanging results between systemsFree preview 40 min
Reviews
No reviews yet.
