RE: xsp:attribute generating a new element instead of an attribute in an already existing element

2002-12-31 Thread Luís Góis
Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element In my last e-mail I've used a diferent XML tree sample than the one I initially posted here. I wan't to generate a XML tree like this :   > >

RE: xsp:attribute generating a new element instead of an attribute in an already existing element

2002-12-31 Thread Luís Góis
Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element Your solution only works when the "if" is true for the first loop iteraction. After that new child elements have been created and the attribute won't be placed where

RE: xsp:attribute generating a new element instead of an attribute in an already existing element

2002-12-31 Thread Luís Góis
Title: Re: xsp:attribute generating a new element instead of an attribute in an already existing element Hello Joerg.   I was expecting some error saying I couldn't create the attribute there, instead, I got an unexpected (from my point of view) XML tree.   Tks     -Mensagem ori

RE: xsp:attribute generating a new element instead of an attribute in an already existing element

2002-12-31 Thread Luis Gois
stead of an attribute in an already existing element I believe you would have to do it this way: currentDate while(rsDates.next()) { rsDates.getString(1) } Luís Góis wrote: > Could you comment the behaviour below : > > > XSP : > === > >

xsp:attribute generating a new element instead of an attribute in an already existing element

2002-12-30 Thread Luís Góis
Could you comment the behaviour below :   XSP :===    while(rsDates.next()) {   rsDates.getString(1)  }  currentDate  generated XML :=   27-12-2002   24-12-2002   expected XML : =     27-12-2002   24-12-2002       TIA Luís Góis