cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: Choosing an XSL dynamically
Date Wed, 24 May 2000 17:43:22 GMT
On Wed, 24 May 2000 pbinkley@library.ualberta.ca wrote:

> Newbie problem: I can't get this to work, and I think it's because my
> installation of Cocoon isn't passing parameters to stylesheets. If I make a
> stylesheet like this:
> 
> <?xsl:stylesheet ...>
> <xsl:param name="portal"/>
> <xsl:template match="page">
> <html><head>
> <title>Using portal <xsl:value-of match="$portal"/></title>
> ...
> 
> ... and I call that stylesheet from an xml file that has been accessed using
> a command-line parameter, e.g. "test.xml?portal=foo", I get a blank where
> the <xsl:value-of...> should have put the value "foo".
> 
> Probable cause: I haven't upgraded from Cocoon 1.6.1. Before I embark on the
> rigors of upgrading, though, I'd be grateful for any warnings about other
> likely causes.

Nope, you need to upgrade.

- donald


Mime
View raw message