On Tue, 19 Jun 2001, Morgan Delagrange wrote:

> I still think this syntax is confusing.  What's going on inside of nested
> loops?
> 
> <connection>
>   <url/>
>   <user_name/>
>   <password/>
>   <statement>
>     <resultset>
>       <connection>
>         <url/>
>         <user_name/>
>         <password/>
>         <statement>
>           <resultset/>
>         </statement>
>       </connection>
>     </resultset>
>   </statement>
> </connection>
> 
> Is a new connection being created for every row in the enclosing
> resultset?

Nested conditions could collaborate implicitly.  E.g.,

   <connection url="" user="" pass="">
        <statement>
            <resultset>
                <connection> <%-- no url specified, so use parent's --%>
                   <statement>
                        <resultset />
                   </statement>
                </connection>
            </resultset>
        </statement>
    </connection>

Shawn

Reply via email to