Making XML human-readable without XSLT

https://jakearchibald.com/2025/making-xml-human-readable-without-xslt/
webpage banner

Making XML human-readable without XSLT

This article by Jake Archibald explores alternatives to using XSLT for making XML human-readable in web browsers. It details XSLT's limitations, such as its outdated nature, low adoption, and security risks, which are prompting major browser vendors to remove support. Archibald suggests server-side data transformation for improved accessibility and performance, or client-side JavaScript for dynamic rendering. The article provides examples of how to achieve XSLT-like results using modern web technologies and stresses the importance of generating proper HTML elements for semantic correctness and accessibility during XML transformation.

Note

rss definitely has a number of challenges to be intuitive and accessible.

xslt being removed makes it clear that creating html and RSS pages are the best options right now, with some CSS to educate users that happen to hit the xml route.

Published

2025

Summary

This article by Jake Archibald explores alternatives to using XSLT for making XML human-readable in web browsers. It details XSLT's limitations, such as its outdated nature, low adoption, and security risks, which are prompting major browser vendors to remove support. Archibald suggests server-side data transformation for improved accessibility and performance, or client-side JavaScript for dynamic rendering. The article provides examples of how to achieve XSLT-like results using modern web technologies and stresses the importance of generating proper HTML elements for semantic correctness and accessibility during XML transformation.

Image

Image for Making XML human-readable without XSLT