Function which is used to create a sheet within an excel file.
 

1 excel.Workbook.createSheet

<excel.Workbook.createSheet
    name='name'
    selected='selected'
>
    <wb /> +
</excel.Workbook.createSheet>
Example

Create an excel file, with a sheet called sheet1.

Copy
<xsql-script>
	<body>
		<set name='wb'>
		    <excel.Workbook />
		</set>
		<excel.Workbook.createSheet name='sheet1'>
		    <wb />
		</excel.Workbook.createSheet>
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>