xmlb template plugin for Wintersmith
A template plugin for the Wintersmith static site generator that lets one to write xmlb templates to generate XML.
The xmlb template library uses the xmlbuilder-js library to generate XML.
My need for outputting XML was to generate a sitemap file. It could also be used to generate RSS and Atom feeds.
Here's an example of a snippet of a sitemap.xmlb template:
//set up pages arrayvar root = xmlpages;