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 :
> >
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
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
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 :
> ===
>
>
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