cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Brunner>
Subject Re: xsp:pi to dynamically create a style sheet name
Date Sun, 04 Jun 2000 12:56:09 GMT wrote:
> Hi folks,
> weather is very beatuiful outside, but I have to code :-)) and I have
> this problem:
> I try to create an XSP where the name of the corresponding xsl is
> created dynamically depending on some parameters given to the program.

In Cocoon 1.7.4 this works (apparently they changed <xsp:pi name=""> to
<xsp:pi target=""> but try both name and target):

<?xml version="1.0" encoding="iso-8859-1"?>

<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>

<xsp:page language="java" 


<xsp:pi target="xml-stylesheet">
href="<xsp:expr>request.getQueryString()</xsp:expr>" type="text/xsl"



Matthias Brunner <>
KeyID 1024/5B89D501 (for info see
FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Send a mail with subject "GET KEY" to obtain this key.

View raw message