Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 9217 invoked from network); 15 May 2006 11:14:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 May 2006 11:14:07 -0000 Received: (qmail 81236 invoked by uid 500); 15 May 2006 11:14:02 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 81224 invoked by uid 500); 15 May 2006 11:14:02 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 81213 invoked by uid 99); 15 May 2006 11:14:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 04:14:01 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sanket.pattekar@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 04:14:01 -0700 Received: by nf-out-0910.google.com with SMTP id y38so30688nfb for ; Mon, 15 May 2006 04:13:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=V4Zn1YW5y7u0j+ciL60B96s1cJnYtFLTHDjtdSvnBeaSTKTBlx7sDPpnP+9egoMr6cWfeRhUBi1e3US/6IL9qCaG7Blpul/zor0/u+VcTeGVnt9opbPPK27JprojEe+XMPoJqQVJ4ADsdQufRk83lnxsdgnbgmreQTVIQEUPHnE= Received: by 10.49.10.9 with SMTP id n9mr3333774nfi; Mon, 15 May 2006 04:13:39 -0700 (PDT) Received: by 10.48.248.9 with HTTP; Mon, 15 May 2006 04:13:39 -0700 (PDT) Message-ID: <182112ed0605150413y2ca29f7u3de4bba86654116e@mail.gmail.com> Date: Mon, 15 May 2006 13:13:39 +0200 From: "Sanket Pattekar" To: users@cocoon.apache.org Subject: Using jx template generator MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I am using jx template generator. I am passing a parameter called language from cocoon sitemap. The values to this could be en, nl or some thing different. =09=09=09=09=09 Based on the lang value I need to create a tag, for example if value is en, then I need to create a xml element called and if the lang value is nl, then I need to create a xml element called I know this is possible to do in the jx file, but doesnot know how to do the same Sanket. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org