All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

XSL Website: Browser-Based Theming Without Server-Side Code or JavaScript

By

Evidlo

9mo ago· 1 min readenCode

Summary

This GitHub repository demonstrates how to use browsers' built-in XSL support to create websites with consistent theming across pages without server-side code, static site generators, or JavaScript. The project shows how XML files reference XSL templates that define how custom tags are rendered as HTML, providing a pure client-side solution for website theming.

Key quotes

· 4 pulled
This is a simple example of using browsers' built in XSL support to build a website with common theming across all pages without any server-side code, static website generators, or Javascript.
When you browse to index.xml (or any of the other XML files), the browser loads the template file given at the top of the XML.
This template file describes how to render the various custom tags in the XML as HTML.
See advanced/ for more advanced examples of defining templates with fields, or using templates inside of other templates.
Snippet from the RSS feed
XSL Rendering Example. Contribute to Evidlo/xsl-website development by creating an account on GitHub.

You might also wanna read