cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Korthuis" <korth...@cs.utwente.nl>
Subject Re: XSL question
Date Mon, 25 Mar 2002 14:32:04 GMT
RE: XSL questionA 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: 'cocoon-users@xml.apache.org' 
  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:mmauri@profesi.com.ar]
    Sent: Monday, March 25, 2002 9:07 AM
    To: cocoon-users@xml.apache.org
    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: 'cocoon-users@xml.apache.org' 
      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:mmauri@profesi.com.ar] 
      > Sent: Monday, March 25, 2002 8:56 AM 
      > To: cocoon-users@xml.apache.org 
      > 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: <cocoon-users-unsubscribe@xml.apache.org> 
      > For additional commands, e-mail: <cocoon-users-help@xml.apache.org> 
      > 


Mime
View raw message