Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 75985 invoked from network); 7 Mar 2006 14:58:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Mar 2006 14:58:37 -0000 Received: (qmail 44623 invoked by uid 500); 7 Mar 2006 14:58:06 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 44557 invoked by uid 500); 7 Mar 2006 14:58:06 -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 44546 invoked by uid 99); 7 Mar 2006 14:58:05 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [81.0.150.90] (HELO ryan.xangeli.com) (81.0.150.90) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2006 06:58:05 -0800 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by ryan.xangeli.com (Postfix) with ESMTP id 42BD1680DA for ; Tue, 7 Mar 2006 15:56:16 +0100 (CET) Message-ID: <440D9F2D.4010100@xangeli.com> Date: Tue, 07 Mar 2006 15:56:45 +0100 From: Askild Aaberg Olsen User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Executing code when transforming References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Goetzmann Bertrand wrote: >Hello, > >I would like to know all the available mechanisms to execute some code >when one operates a transformation (using the default transformer). I >mean a way to execute java or javascript code that resides in the xsl >file in order to use some result. >To have working with Microsoft XML parser (MSXML) several years ago, I >know there is a way using some proprietary extension to XSLT, and the >code was in Javascript. > > > If you are using Xalan (default XSLT-processor in Cocoon), have a look at http://xml.apache.org/xalan-j/extensions.html I guess that your reason for this is that you don't find XSLT expressive enough for your needs. If so, have a look at Saxon and it's XSLT 2.0 capabilities. http://wiki.apache.org/cocoon/Saxon Askild - --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org