Hi Mauri,
I couldn't forget ;). Perhaps you could not *include* the stylesheet but do a second transformation after your first one. Depending on your parameter you could insert a new processing instruction to do the transformation you'd like. It could look like Kai "Martin Mauri" An: <[EMAIL PROTECTED]>, "Richard Korthuis" <mmauri@profe <[EMAIL PROTECTED]> si.com.ar> Kopie: Thema: Re: XSL question 25.03.02 17:21 Bitte antworten an cocoon-users Ok, forget it anyway. Here goes another. Does anyone remember how to define entities inside an xml file without the need of declaring the use of a DTD? thanks! ----- Original Message ----- From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 12:42 PM Subject: Re: XSL question Hello, What is this outside source? Are you calling the xml with a param ( http://..../index.xml?param=something) or are you passing this parameter in some other way? Richard ----- Original Message ----- From: Martin Mauri To: [EMAIL PROTECTED] ; Richard Korthuis Sent: Monday, March 25, 2002 3:40 PM Subject: Re: XSL question Dear Richard, I understand what you say, but here the problem is if I can get a parameter from an outside source, right? ----- Original Message ----- From: Richard Korthuis To: [EMAIL PROTECTED] Sent: Monday, March 25, 2002 11:32 AM Subject: Re: XSL question A while ago I made an XML (Cocoon 1.8) which requested a parameter passed on from a form on a webpage. Maybe you can try something similar for your XSL? <xsp:page language="java" xmlns:sql="http://www.apache.org/1999/SQL" xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:request="http://www.apache.org/1999/XSP/Request"> <dates> <sql:execute-query> .... .... <sql:query>delete from rooster where uniek='<request:get-parameter name ="uniek"/>' </sql:query> </sql:execute-query> </dates> </xsp:page> Regards Richard Korthuis ----- Original Message ----- From: von Schwerdtner, Thomas (GXS, FPI) To: '[EMAIL PROTECTED]' Sent: Monday, March 25, 2002 3:13 PM Subject: RE: XSL question Ah, good point. I have no experience with pre 2.x Cocoon, so I don't know what would work. I'm sure others around here can answer that though. -T -----Original Message----- From: Martin Mauri [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: Re: XSL question Hi Thomas, That's a good answer, unfortunately I forgot to point that I'm using Cocoon 1.8.2. Is there a solution for it? thanks! ----- Original Message ----- From: von Schwerdtner, Thomas (GXS, FPI) To: '[EMAIL PROTECTED]' Sent: Monday, March 25, 2002 10:53 AM Subject: RE: XSL question Yes. There is a tutorial on this at cocooncenter.org: http://www.cocooncenter.de/cc/documents/resources/request-params/index.html -Tom > -----Original Message----- > From: Martin Mauri [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 8:56 AM > To: [EMAIL PROTECTED] > Subject: XSL question > > > Hi, this is a kind of offtopic question I think but anyway... > > Is there a possibility to pass a parameter to a stylesheet? > > I'd like to do the following: > > Given a stylesheet, I'd like to include another but depending > on a parameter > passed by some external source, say an xml page. > > thanks in advance. > > Martin > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>