My client application needs to generate HTML. I'd like to use a template/view engine solution like Spark, but I'm not sure whether Spark can be used outside of an ASP.NET application. Does anyone know of any samples or documentation about using Spark in this way?
(If you know of other view engine solutions that can be used stand-alone, I'd be curious to hear about those, too.)
In addition to the other examples, I found a simple one in the Spark source itself. The Xpark project is a command-line application for transforming XML using Spark. Louis DeJardin, the creator of Spark, described how Xpark works on his blog.
The relevant code snippets are:
This was enough to get me pointed in the right direction. But I'll definitely dive into the other examples as well.