# Generating documentation for XML Schemas

In the course of my work in enterprise software, I am frequently asked to work with [XML][xml] documents defined by [XML schemas][xml-schema], usually [W3C XML Schema Definitions][xsd] (XSD). In contrast to [JSON][json], which has a number of tools for generating documentation for [JSON schemas][json-schema], there are few tools for generating documentation for XML schemas.

Introducing [xsdstyle][xsdstyle], a tool I have been working on which transforms an XSD 1.0 or XSD 1.1 schema collection into a single HTML documentation page. Check out [the generated documentation][demonstration] for the [Extensible Provisioning Protocol][epp].

[xml]: https://en.wikipedia.org/wiki/XML
[xml-schema]: en.wikipedia.org/wiki/XML_schema
[xsd]: https://en.wikipedia.org/wiki/XML_Schema_(W3C)
[json]: https://en.wikipedia.org/wiki/JSON
[json-schema]: https://en.wikipedia.org/wiki/JSON#Metadata_and_schema
[xsdstyle]: https://github.com/bardiharborow/xsdstyle
[demonstration]: https://bardiharborow.github.io/extensible-provisioning-protocol/
[epp]: https://en.wikipedia.org/wiki/Extensible_Provisioning_Protocol

---

["Generating documentation for XML Schemas"](https://blog.bardiharborow.com/2026/09/generating-documentation-for-xml-schemas) © 2026 by [Bardi Harborow](https://bardiharborow.com/) is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
