On May 3, 2005, at 4:37 AM, [EMAIL PROTECTED] wrote:
After pulling my hair out all morning over this one... enough is enough...
OK, Another one for thi list I think!
I am using ESQL to retrieve some data from a mysql database. On sucess I
want to call an xsl template, passing it the esql result as a parameter. I
have thge following code which works fine in that it calls displays the
template ok, but the perameter doesn't include the esql result:
I think you have a misunderstanding as to how AxKit and XSL transforms function. XSP and XSL do not run at the same stage in AxKit, and so mixing them together won't do anything for you. The thing is that AxKit functions as a "pipeline", where XML output from each stage of the pipeline is fed to the next stage as input.
XSP in this instance would be the very first stage. The XML outputted from your XSP code will be fed to your XSL stylesheet. The important thing to note, however, is that once the XSP code is executed and its output is generated, its job is finished and stops. Once the XSL processor starts its work on it's input XML, you can no longer use XSP because the XSL transformation engine doesn't understand it.
So if you want the output of an XSP page to influence an XSL stylesheet, you need to output some XML tags that represent what you want to have done, and then use that information in your stylesheet.
I hope this helps clear things up. If I misunderstood what you are trying to accomplish, please let me know and I'll do my best to help.
-- Michael Nachbaur <[EMAIL PROTECTED]> http://nachbaur.com/pgpkey.asc
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
