Hi!

I've got an (fine working) XSP-Page like

...
<esql:connection>
        Things to connect...
        Some SQL-things I need on every request...      
        <if-param:xxx>
                <esql:execute-query><esql:query>SQL</esql:query>
                        <esql:results/></esql:execute-query>
        </if-param:xxx>
        <if-param:xxx>
                <esql:execute-query><esql:query>SQL</esql:query>
                        <esql:results/></esql:execute-query>
        </if-param:xxx>
        and so on ...
</esql:connection>
...

And I want it to look like:

...
<esql:connection>
        Things to connect...
        Some SQL-things I need on every request...
        <if-param:_chdl>
                <util:include-file>
                        <util:name><param:_chdl/>.xsp</util:name>
                </util:include-file>
        </if-param:_chdl>
</esql:connection>
...

What I expectet was that the code inside of the file <param:_chdl/>.xsp is 
inserted as a in-file written Text, and beeing processed by ESQL. But the 
Result is that my Fragments in <param:_chdl/>.xsp, which look like
<?xml version="1.0"?>
<include>
<if-param:action-sys-login>
        <esql:execute-query>
                <esql:query>Some SQL Code...</esql:query>
                <esql:results/>
        </esql:execute-query>
</if-param:action-sys-login>
<include>
are not Processed, I just see my plain SQL-Code in by Browser ;-)

Is there any chance to build the esql-things in an XSP-File dynamicly from 
an extern file?

I think my Problem is, that I want to dynamicly include XSP-Code with 
XSP-Features BEFORE XSP ist prozessing the page, and that could not work.

Anny hints?

Thanks,
AXEL.


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

Reply via email to