title: Rendering HTML with SXML and GNU Guile
date: 2015-04-10 18:00
tags: gnu, guile, wsu
summary: With a little effort, SXML can be used for HTML templates
---
GNU Guile provides modules for working with XML documents called SXML.
SXML provides an elegant way of writing XML documents as s-expressions
that can be easily manipulated in Scheme. Here’s an example:
```scheme
(sxml->xml '(foo (bar (@ (attr "something")))))
```
```xml