xhtml_report_generator 0.0.2
Here is an example usage: gen1 = XhtmlReportGenerator::Generator.new gen1.createLayout gen1.setTitle("Example Report") gen1.heading("h1", "titel", :btoc) gen1.heading("h2", "subtitel", :ltoc) gen1.heading("h3", "section") gen1.content("content function: Hallo welt <br /> html test <span class="r" >red span test</span>",{"class"=>"bold"}) gen1.html("html function: Hallo welt <br /> html test <span class="r" >red span test</span>",{"class"=>"italic"}) The javascript to render the table of contents, the custom generator functions and style sheet all can be supplied by your own, if needed.