From users-return-55649-apmail-cocoon-users-archive=cocoon.apache.org@cocoon.apache.org Fri Sep 19 16:46:25 2003 Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58972 invoked from network); 19 Sep 2003 16:46:24 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Sep 2003 16:46:24 -0000 Received: (qmail 10749 invoked by uid 500); 19 Sep 2003 16:46:04 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 10732 invoked by uid 500); 19 Sep 2003 16:46:04 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 10686 invoked from network); 19 Sep 2003 16:46:03 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by daedalus.apache.org with SMTP; 19 Sep 2003 16:46:03 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0OOA-0006I1-00 for ; Fri, 19 Sep 2003 18:45:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A0OO9-0006Ht-00 for ; Fri, 19 Sep 2003 18:45:45 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1A0OOT-0005ko-00 for ; Fri, 19 Sep 2003 18:46:05 +0200 From: Luca Morandini Subject: Re: RES: XSP in XSL Date: Fri, 19 Sep 2003 18:46:06 +0200 Lines: 74 Message-ID: References: Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: it, en-us, en, fr In-Reply-To: Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jose Antonio Rosa dos Santos Junior wrote: > hmmm.. Maybe. Havenīt thought that way. Can i link two pipelines to do that instead? > > Iīm sending what i am trying to do: > > stemap.xmap: > ... > > > > > > > > ... > > pagina-fnde2html.xsl: > ... > > ... > > > SimpleDateFormat format = new SimpleDateFormat("dd/MM/yyyy"); > > > format.format(new Date()) > > ... > > ... > > teste.xsp: > > > xmlns:xsp="http://apache.org/xsp" > > No, you cannot. Specifically, you cannot use XSP tags in your XSL: XSP is interpreted only in the generation stage. What XSL does is just to transform (using the XSL language, not the XSP one) the output produced by the XSP. If you really can't do without Java in the XSL, take a look at the XSL extension of Xalan, using which you will be able call Java within an XSL, like: ... ... ...which, coincidentally, you were trying to achieve in the first place I suppose :) Regards, ------------------------------------------ Luca Morandini GIS Consultant lmorandini@ieee.org http://space.virgilio.it/kumora/index.html ------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org