var homepage = compile( </head> <body> <span h:disable='true'>hello</span> <ul> <li h:loop='values'> Value is now: <span h:replace='__iter'/> </li> </ul> <div> hello, <span h:replace='audience'>placeholder</span> </div> <div>Sample inline code: <h:eval>2+2</h:eval></div> </body> </html>); XML.prettyPrinting=true homepage({ title: 'home', audience:'world', values: [1,2,3] }); /* <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="helma"> <head> <title>home
hello, world
Sample inline code: 4
*/