From: David Naseby Date: 2004-01-01T09:51:11+09:00 Subject: Re: amrita parse error > From: Carl Youngblood [mailto:carl@ycs.biz] > > Amrita uses html-parser by default, which I believe doesn't handle namespaces at all. The easiest possible workaround is to run with REXML as the parser. Just set TemplateText#xml => true. Sample is below: require "amrita/template" include Amrita tmpl_text = <<-END xhtml sample END data = {} tmpl = TemplateText.new tmpl_text tmpl.prettyprint = true tmpl.xml = true # use REXML parser tmpl.asxml = true tmpl.expand(STDOUT, data)