Hi,

How do you get parameters passed to an XSLT stylesheet?

something like /ucpress/jaffe.xml?part=5&display=standard&style=generic.css
works in cocoon, but when I Alias /ucpress to the to the production 
directory that cocoon uses, I just get the table of contents, not the 
chapter of the book

http://escholarship.cdlib.org/ucpress/jaffe.xml?part=5&display=standard&style=generic.css
 
[cocoon]
http://jarda.cdlib.org:8081/ucpress/jaffe.xml?part=5&display=standard&style=generic.css
 
[Axkit]

httpd.conf
...
PerlModule AxKit
...
Alias /ucpress /escholarship/ucpress
<Location /ucpress>
SetHandler perl-script
PerlHandler AxKit
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript

# add the following only if you intend to install Sablotron
AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
# AxCacheDir /cdlstats/apache/ax_cache

</Location>
...


-- Brian Tingle
    Development Programmer, California Digital Library
    (510)987-0443


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

Reply via email to