cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: Returning result from two select statements in one file
Date Thu, 25 Apr 2002 18:30:01 GMT
On 25.Apr.2002 -- 09:25 AM, Hahn Kurt (CHA) wrote:
> I'm developing a Cocoon application wich produces PDF files from a file
> which is generated by a DB access (Oracle). The problem is the query: The
> results I should get looks like this:
> <row>
> <field1>text</field1>
> ...
> <fieldN>text</fieldN>
> <field1FromSecondSelect>text</field1FromSecondSelect>
> ...
> <fieldNFromSecondSelect>text</fieldNFromSecondSelect>
> </row>

You are not be any chance talking about nesting another query inside
the first? If so, why don't you just try it ? ;-)



Can't remember off hand if you need <esql:connection> for your

Access values from outer query by using attribute ancestor="1" or
however deep it's nested (e.g. <esql:get-string column="name" ancestor="1"/>)

Or try the grouping stuff (documented on user guide -> XSP -> ESQL)


C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message