On 26.Jun.2003 -- 10:04 AM, Dmitry Diskin wrote:
> Hello
> 
> I noticed that if I insert any tag between closing </esql:query> and 
> opening <esql:results> - nothing works. Is it a known situation and 
> documented somewhere?
> 
> Example below doesn't work:
> 
>   <esql:connection>
>     <esql:pool>mypool</esql:pool>
>     <esql:execute-query>
>       <esql:query>
>         select * from something
>       </esql:query>
>       <tmp>
>       <esql:results>
>         <esql:row-results>
>           <record>some data here</record>
>         </esql:row-results>
>       </esql:results>
>       </tmp>
>     </esql:execute-query>
>   </esql:connection>
> 
> If I remove <tmp></tmp> tags - it works!

I guess it is not documented -- please feel free to add to
wiki.cocoondev.org 

Even if it were allowed (that is the xpath expressions would use
descendant instead of child), the tag would just be swallowed. If you
need to enclose your result with <tmp/>, place it behind the
esql:results tag or in front of the esql:execute-query tag.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to