This functions set the name of the sheet.
 

1 excel.Workbook.setSheetName

<excel.Workbook.setSheetName
    index='index'
    name='name'
>
    <wb /> +
</excel.Workbook.setSheetName>
Example

Set the name of the sheet1.

Copy
<xsql-script>
	<body>
	    <set name='wb'>
	        <excel.Workbook />
	    </set>
	
	    <excel.Workbook.createSheet name='sheet1'>
	        <wb />
	    </excel.Workbook.createSheet>
	
	    <println>
	        <excel.Workbook.getSheetName index='0'>
	            <wb />
	        </excel.Workbook.getSheetName>
	    </println>
	
	    <excel.Workbook.setSheetName index='0' name='new_sheet1'>
	        <wb />
	    </excel.Workbook.setSheetName>
	
	    <println>
	        <excel.Workbook.getSheetName index='0'>
	            <wb />
	        </excel.Workbook.getSheetName>
	    </println>
	</body>
</xsql-script>