Hello list.

While I'm still busy migrating a development machine to AxKit2, I was
working a bit on the existing code too and wanted to be able to access
mod_perl's global variables, i.e. the contents of
$r->pnotes("GLOBAL"), in my XSLT stylesheets. Just like session
variables are already made available through the
Apache::AxKit::Plugin::AddXSLParams::Session plugin. So I did a simple
search and replace in the module, saved it under the above name and it
works as expected. Which is a fact, not a question, and something way
too simple to show off on the AxKit-list about.

Except that I got a bit suspicious when I couldn't find anything on
the net on using global variables in XSLT stylesheets. I thought it
isn't such a strange thing to do, say, for example, to make the
current results of a poll available to the stylesheets. So am I
perhaps doing something very dangerous or something that can be solved
in a much more elegant way?

Martijn.

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

Reply via email to