cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <luca.morandi...@tin.it>
Subject RE: SQLTransformer, multiple execute-query siblings?
Date Fri, 21 Jun 2002 17:10:03 GMT
Argyn,

oh, I see...

In such a case I'd make a nice XSL to convert the query results to the
format I like (I've posted such an XSL some time ago).

Anyway, I can see the rationale. The point is that SQL produces rowset
(inherently  NOT hierarchycal), while XML is strongly hierarchycal.

I presume there is scope for making a Transformer, which would make
hierarchycal rowsets from "flat" ones... anyone interested ?

Best regards,

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Argyn Kuketayev [mailto:Argyn.Kuketayev@plateau.com]
> Sent: Friday, June 21, 2002 6:56 PM
> To: 'cocoon-users@xml.apache.org'
> Subject: RE: SQLTransformer, multiple execute-query siblings?
>
>
> suppose you want to have this xml:
>
> <P>
> <row1>
> <p-name/><p-address/>
>   <c1>
>     <row1><c1-name/></row1>
>     <row2>......
>   </c1>
>   <c2>
>     <row1><c2-name/></row1>
>     <row2>......
>   </c2>
> </row1>
> <row2>
> .....
>
> </P>
>
>
> here, P-parent, c1, c2 - children
> > -----Original Message-----
> > From: Luca Morandini [mailto:luca.morandini1@tin.it]
> > Sent: Friday, June 21, 2002 12:49 PM
> > To: cocoon-users@xml.apache.org
> > Subject: RE: SQLTransformer, multiple execute-query siblings?
> >
> >
> > Jens,
> >
> > I beg your pardon, but, what's the use of having such nested queries ?
> >
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message