Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 11714 invoked from network); 28 Jun 2000 07:39:10 -0000 Received: from muedi6-212-144-152-033.arcor-ip.net (HELO zeus.atmiralis.de) (@212.144.152.33) by locus.apache.org with SMTP; 28 Jun 2000 07:39:10 -0000 Received: from atmiralis.de (michael@sokrates.atmiralis.de [192.168.18.21]) by zeus.atmiralis.de (8.9.3/8.9.3) with ESMTP id JAA24615 for ; Wed, 28 Jun 2000 09:39:20 +0200 Sender: michael@atmiralis.de Message-ID: <39599B5B.AFDB8B5E@atmiralis.de> Date: Wed, 28 Jun 2000 08:29:47 +0200 From: Michael Bierenfeld Organization: Atmiralis X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: xsp, xsl-vaiables and xsl-attributes References: <39589F2F.5B600655@siteos.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hans-Guenter Stein wrote: > > Why can't I compute inside an ? > > i.e. > if I try: > 0+1 > > $myVariable will hold "0+1" instead of 1. > > if I try: > > name="myAttribute">0+1 > > > the processor throws something like 'can't have inside > > > ---- > In fact, I want to do the following (which appears to be a very basic > problem): > > my xml looks like: > > > This is English > > > This is German > > > > in the xsp, I want to analyse the page-request-paramters with the > cocoon-lib 'request' by using: > > (the page request looks like: "http://myServer.com/myXML?language=en") > > now I want to write a template for , that copies the > correct language version into the output, such that, in above case, the > output should be exactly: > > > This is English > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org I had the same thing. I dont know the reason but anyway. In nearly all cases it is possible to do the same thing with : This means labels etc are stored externaly in a Textfile or something simmilar. Regards Michael