Thursday, 08 April 2010 12:12
To add HTML dynamically into S-Rscript's default XSL template create a regular Dynarex document containing the HTML and provide a XSL stylesheet which copies the HTML content e.g.
This makes it possible to keep blocks of HTML separate from each other yet still include them in the same HTML document e.g.
http://rscript.rorbuilder.info/xsl/html.xsl
hello world
Initially I considered this type of Dynarex document to be disposable meaning it will be created "just-in-time", however it may be convenient to store Haml or Markdown as a static file.

Read more: