Returns the HTML code corresponding to a book.

1 excel.Workbook.toHTML

<excel.Workbook.toHTML>
    <wb /> +
</excel.Workbook.toHTML>
Example

Set the name of the sheet1.

Copy
<xsql-script>
	<body>
		<set name='wb'>
		    <excel.Workbook />
		</set>
		
		<set name="sheet_1">
		    <excel.Workbook.createSheet name="Sheet 1">
		        <wb/>
		    </excel.Workbook.createSheet>
		</set>
		
		<set name="cell_r2c2">
		    <excel.Sheet.createCell row="15" col="2">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<!-- cell with string -->
		<excel.Cell.setCellValue>
		    <cell_r2c2/>
		    <string>TEXT</string>
		</excel.Cell.setCellValue>
		
		<println><string.trim>
		    <excel.Workbook.toHTML>
		        <wb />
		    </excel.Workbook.toHTML>
		</string.trim></println>
	</body>
</xsql-script>