posted 15 years ago
Hi!
I've some issues reading a simple xls file containigs 4 columns (below an exaple)
tit1tit2tit3tit4
a1b1c1d1
a2b2c2d2
a3b3c3d3
i've created my xml template to read xls file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<workbook>
<worksheet>
<section startRow="0" endRow="1"/>
<loop startRow="1" endRow="1" items="sedi" var="sede" varType="it.reply.sem.utils.Sede">
<section startRow="1" endRow="1">
<mapping row="1" col="0">sede.a</mapping>
<mapping row="1" col="1">sede.b</mapping>
<mapping row="1" col="3">sede.c</mapping>
<mapping row="1" col="4">sede.d</mapping>
</section>
<loopbreakcondition>
<rowcheck offset="0">
<cellcheck offset="0">END</cellcheck>
</rowcheck>
</loopbreakcondition>
</loop>
</worksheet>
</workbook>
i've created Object "Sede" which contains 4 variables (a,b,c,d)
I use this code to read xls :
I have no errors, but my arraylist is empty.
someone can help me?
Thanks
[ October 27, 2008: Message edited by: Rubens Ballabio ]