Create a new cell in the wished position.

1 excel.Sheet.createCell

<excel.Sheet.createCell
    row='row'
    col='col'
>
    <sh /> +
</excel.Sheet.createCell>

Remarks

A row previously created (excel.Sheet.createRow) can be used to build one of the cells using unically the attribute col.

Example
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_r1">
		    <excel.Sheet.createRow row="15">
		        <sheet_1/>
		    </excel.Sheet.createRow>
		</set>
		
		<set name="cell_r1c1">
		    <excel.Row.createCell col="1">
		        <cell_r1/>
		    </excel.Row.createCell>
		</set>
		
		<set name="cell_r2c2">
		    <excel.Sheet.createCell row="15" col="2">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<set name="cell_r2c5">
		    <excel.Sheet.createCell row="15" col="3">
		        <sheet_1/>
		    </excel.Sheet.createCell>
		</set>
		
		<excel.Workbook.write>
		    <wb/>
		    <file name="test.xls" type="absolute"/>
		</excel.Workbook.write>
	</body>
</xsql-script>